Hacker News new | ask | show | jobs
by jakzq 1641 days ago
Can you navigate C-r history, or are you forced to see only the last command?
3 comments

Pair <C-r> with `fzf` if you want good ux.
I've noted once within my personal bash cheat sheet this:

Search the command history

* Search as you type: Ctrl + r and type the search term; Repeat Ctrl + r to loop through results.

* Search the last remembered search term: Ctrl + r twice.

* End the search at current history entry: Ctrl + j

* Cancel the search and restore original line: Ctrl + g

Try of course at your own risk. But works for me.

You can! If you do C-r again, then it will show the next command in your history for the given search.