Add readline and editline config files
Enable vi mode in readline and editline configs.
This commit is contained in:
13
inputrc
Normal file
13
inputrc
Normal file
@@ -0,0 +1,13 @@
|
||||
# Enable vi mode
|
||||
set editing-mode vi
|
||||
|
||||
# Normal mode mappings
|
||||
set keymap vi-command
|
||||
"gg": beginning-of-history
|
||||
"G": end-of-history
|
||||
|
||||
# Insert mode mappings
|
||||
set keymap vi-insert
|
||||
"\C-[": vi-movement-mode
|
||||
"\C-p": history-search-backward
|
||||
"\C-n": history-search-forward
|
||||
Reference in New Issue
Block a user