Fix history search in inputrc
This commit is contained in:
parent
d3c2506cbd
commit
b78d801675
11
.inputrc
11
.inputrc
@ -1,7 +1,14 @@
|
|||||||
"\e[A": history-search-backward
|
|
||||||
"\e[B": history-search-forward
|
|
||||||
set show-all-if-ambiguous on
|
set show-all-if-ambiguous on
|
||||||
|
|
||||||
# Enable Vim keybindings
|
# Enable Vim keybindings
|
||||||
set editing-mode vi
|
set editing-mode vi
|
||||||
|
|
||||||
set keymap vi-command
|
set keymap vi-command
|
||||||
|
"\e[A": history-search-backward
|
||||||
|
"\e[B": history-search-forward
|
||||||
|
j: history-search-forward
|
||||||
|
k: history-search-backward
|
||||||
|
|
||||||
|
set keymap vi-insert
|
||||||
|
"\e[A": history-search-backward
|
||||||
|
"\e[B": history-search-forward
|
||||||
|
Loading…
Reference in New Issue
Block a user