Hacker News new | past | comments | ask | show | jobs | submit login

Can you navigate C-r history, or are you forced to see only the last command?



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.




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: