mirror of
https://github.com/tiyn/dotfiles.git
synced 2025-04-01 17:07:45 +02:00
last cleanup push
This commit is contained in:
parent
22c44e2e8e
commit
40e9e79beb
19
.config/inputrc
Normal file
19
.config/inputrc
Normal file
@ -0,0 +1,19 @@
|
|||||||
|
$include /etc/inputrc
|
||||||
|
set editing-mode vi
|
||||||
|
$if mode=vi
|
||||||
|
|
||||||
|
set show-mode-in-prompt on
|
||||||
|
set vi-ins-mode-string \1\e[6 q\2
|
||||||
|
set vi-cmd-mode-string \1\e[2 q\2
|
||||||
|
|
||||||
|
set keymap vi-command
|
||||||
|
# these are for vi-command mode
|
||||||
|
Control-l: clear-screen
|
||||||
|
Control-a: beginning-of-line
|
||||||
|
|
||||||
|
set keymap vi-insert
|
||||||
|
# these are for vi-insert mode
|
||||||
|
Control-l: clear-screen
|
||||||
|
Control-a: beginning-of-line
|
||||||
|
|
||||||
|
$endif
|
19
.inputrc
19
.inputrc
@ -1,19 +0,0 @@
|
|||||||
$include /etc/inputrc
|
|
||||||
set editing-mode vi
|
|
||||||
$if mode=vi
|
|
||||||
|
|
||||||
set show-mode-in-prompt on
|
|
||||||
set vi-ins-mode-string \1\e[6 q\2
|
|
||||||
set vi-cmd-mode-string \1\e[2 q\2
|
|
||||||
|
|
||||||
set keymap vi-command
|
|
||||||
# these are for vi-command mode
|
|
||||||
Control-l: clear-screen
|
|
||||||
Control-a: beginning-of-line
|
|
||||||
|
|
||||||
set keymap vi-insert
|
|
||||||
# these are for vi-insert mode
|
|
||||||
Control-l: clear-screen
|
|
||||||
Control-a: beginning-of-line
|
|
||||||
|
|
||||||
$endif
|
|
Loading…
x
Reference in New Issue
Block a user