Implement smarter history navigation (#2161)
* Remove unnecessary space in history file * Refactor history navigation * Implement smarter history navigation * Skip duplicate commands in history navigation * Return to Normal mode if it started from there * Reset history state when changing prompt * Update documentation
This commit is contained in:
1 parent
5e15655539
commit
89ff7b0203
6 files changed
+96
-86
No files matched your search
@@ -669,7 +669,8 @@ Interrupt the current shell-pipe command and return to the Normal mode.
|
||||
|
||||
## cmd-history-next (default `<c-n>` and `<down>`), cmd-history-prev (default `<c-p>` and `<up>`)
|
||||
|
||||
Go to the next/previous item in the history.
|
||||
Go to the next/previous entry in the command history.
|
||||
If part of the command is already typed, then only matching entries will be considered, and consecutive duplicate entries are skipped.
|
||||
|
||||
## cmd-left (default `<c-b>` and `<left>`), cmd-right (default `<c-f>` and `<right>`)
|
||||
|
||||
|
||||
Reference in new issue
Block a user