6 ms·
C-r for interactive history search
by Plugawy 6y ago
C-r for interactive history search
- llarsson 6y agoNot just that. Add this to you inputrc: "\e[A": history-search-backward "\e[B": history-search-forward Now up and down arrows will search your history with whatever you already have typed at the prompt. Re-running a command often? Probably just have to type its first letter and hit up arrow once or twice.
- kanyethegreat 6y agoI like fzf for command history search. Ctrl-r, then fuzzy search the command, arrow up and down. Nirvana
- mekster 6y agofzf is game changing. Having have to guess exactly with Ctrl-R is a thing of the past.
- josinalvo 6y agoThis is AMAZING. Thanks so much! (fyi, for others: you need not use ctrl-r, just type and press up and down)