3 ms·
Wow, thanks! I knew about ## arrow up "\e[A":history-search-backward ## arrow down "\e[B":history-search-forward but it works only for beginning of th
by KORraN 7y ago
Wow, thanks! I knew about
## arrow up
"\e[A":history-search-backward
## arrow down
"\e[B":history-search-forward
but it works only for beginning of the line. CTRL + R shows results with keyword anywhere within the line and pressing it again shows next result. CTRL + Shift + R goes back one result.
- weaksauce 7y agoZpresto has a zsh plugin thing that you can enable to get partial substring search with up/down arrow and color highlighting for the match. Really useful and one of my favorite features
- lunchables 7y agoI just use ctrl-p/n for back/forward in history? Does that not work pretty much everywhere?