Added inputrc with vi mode
This commit is contained in:
parent
2c525aeaf7
commit
9d90e7a999
2 changed files with 13 additions and 0 deletions
9
inputrc/inputrc
Normal file
9
inputrc/inputrc
Normal file
|
@ -0,0 +1,9 @@
|
||||||
|
set bell-style visible
|
||||||
|
set editing-mode vi
|
||||||
|
$if term=linux
|
||||||
|
set vi-ins-mode-string \1\e[?0c\2
|
||||||
|
set vi-cmd-mode-string \1\e[?8c\2
|
||||||
|
$else
|
||||||
|
set vi-ins-mode-string \1\e[6 q\2
|
||||||
|
set vi-cmd-mode-string \1\e[2 q\2
|
||||||
|
$endif
|
4
inputrc/install.sh
Executable file
4
inputrc/install.sh
Executable file
|
@ -0,0 +1,4 @@
|
||||||
|
#!/usr/bin/env sh
|
||||||
|
|
||||||
|
ln -svrf inputrc ~/.inputrc
|
||||||
|
|
Loading…
Reference in a new issue