← Back to context Comment by bwhaley 9 hours ago Once you start using CTRL+r, you may find that you never reach for up arrow again. 15 comments bwhaley Reply pavel_lishin 8 hours ago I'm familiar with ctrl-r, but I still very much like the up-arrow behavior described by that commenter. flir 7 hours ago Looking at it from a "law of least surprise" angle, it's exactly how it should behave."I typed 'cd di↑' and you're giving me 'pwd'??" BeetleB 7 hours ago There is a difference, I believe. Doesn't Ctrl+r do a substring search instead? imglorp 5 hours ago Yes it's different: it will match anywhere in the previous command lines. soraminazuki 5 hours ago Prefix search is faster for the majority of cases. CTRL-r / FZF is useful for the remaining ones. kuschkufan 9 hours ago And once you want to one-up this look into fzf. nidnogg 9 hours ago And once you get tired of fzf and want something better, you reach for https://atuin.sh.Completely transformed all of my workflows seedie 8 hours ago From the atuin.sh website> Sync your shell history to all of your machinesI think of my shell history as very machine specific. Can you give some insights on how you benefit from history sync? If you use it. 6 replies → noisy_boy 7 hours ago export EDITOR=vi and then hitting Esc puts you into vi mode; k, j to move up/down through history or pressing / to search etc including using regex is all available.
pavel_lishin 8 hours ago I'm familiar with ctrl-r, but I still very much like the up-arrow behavior described by that commenter. flir 7 hours ago Looking at it from a "law of least surprise" angle, it's exactly how it should behave."I typed 'cd di↑' and you're giving me 'pwd'??"
flir 7 hours ago Looking at it from a "law of least surprise" angle, it's exactly how it should behave."I typed 'cd di↑' and you're giving me 'pwd'??"
BeetleB 7 hours ago There is a difference, I believe. Doesn't Ctrl+r do a substring search instead? imglorp 5 hours ago Yes it's different: it will match anywhere in the previous command lines.
soraminazuki 5 hours ago Prefix search is faster for the majority of cases. CTRL-r / FZF is useful for the remaining ones.
kuschkufan 9 hours ago And once you want to one-up this look into fzf. nidnogg 9 hours ago And once you get tired of fzf and want something better, you reach for https://atuin.sh.Completely transformed all of my workflows seedie 8 hours ago From the atuin.sh website> Sync your shell history to all of your machinesI think of my shell history as very machine specific. Can you give some insights on how you benefit from history sync? If you use it. 6 replies →
nidnogg 9 hours ago And once you get tired of fzf and want something better, you reach for https://atuin.sh.Completely transformed all of my workflows seedie 8 hours ago From the atuin.sh website> Sync your shell history to all of your machinesI think of my shell history as very machine specific. Can you give some insights on how you benefit from history sync? If you use it. 6 replies →
seedie 8 hours ago From the atuin.sh website> Sync your shell history to all of your machinesI think of my shell history as very machine specific. Can you give some insights on how you benefit from history sync? If you use it. 6 replies →
noisy_boy 7 hours ago export EDITOR=vi and then hitting Esc puts you into vi mode; k, j to move up/down through history or pressing / to search etc including using regex is all available.
I'm familiar with ctrl-r, but I still very much like the up-arrow behavior described by that commenter.
Looking at it from a "law of least surprise" angle, it's exactly how it should behave.
"I typed 'cd di↑' and you're giving me 'pwd'??"
There is a difference, I believe. Doesn't Ctrl+r do a substring search instead?
Yes it's different: it will match anywhere in the previous command lines.
Prefix search is faster for the majority of cases. CTRL-r / FZF is useful for the remaining ones.
And once you want to one-up this look into fzf.
And once you get tired of fzf and want something better, you reach for https://atuin.sh.
Completely transformed all of my workflows
From the atuin.sh website
> Sync your shell history to all of your machines
I think of my shell history as very machine specific. Can you give some insights on how you benefit from history sync? If you use it.
6 replies →
export EDITOR=vi and then hitting Esc puts you into vi mode; k, j to move up/down through history or pressing / to search etc including using regex is all available.