1、You can search backwards or forwards with Ctrl + r and Ctrl + s. This will search in the current line and then iteratively through previous lines:
https://effective-shell.com/part-2-core-skills/fly-on-the-command-line/
2、ctrl+n, ctrl+p
https://effective-shell.com/part-2-core-skills/fly-on-the-command-line/
这个在fzf里面可以使用(进行上下移动)。
转载请注明:牛哥678 » 历史搜索:ctrl+n, ctrl+p