4 ms·
Navigating Bash History with Ctrl+R (2011)
- Joker_vD 5y agoNow, if only editing the command you found with Ctrl+R did not actually edit this command in the history but instead gave you a new copy!
- eftychis 5y agoAnd CTRL-S for forward search. Generally you can use most/all your emacs keybindings (if you are an emacs user and somehow were unaware). You can also do `set -o vi` or `set` the `editing-mode` or `keymap` to `vi` respectively. So if you are an emacs or vi user the world is great!
- gkfasdfasdf 5y agoThis is from 2011? Before fzf [0] was a thing, I imagine... 0: https://github.com/junegunn/fzf https://github.com/junegunn/fzf
- luckman212 5y agofzf is so damn useful. I think I use it in like 30% of all my scripts.