ctrl-a to beginning of line in vi bash
This commit is contained in:
parent
d065211d7b
commit
40d4b3c443
1 changed files with 3 additions and 0 deletions
3
.inputrc
3
.inputrc
|
@ -5,8 +5,11 @@ $if mode=vi
|
||||||
set keymap vi-command
|
set keymap vi-command
|
||||||
# these are for vi-command mode
|
# these are for vi-command mode
|
||||||
Control-l: clear-screen
|
Control-l: clear-screen
|
||||||
|
Control-a: beginning-of-line
|
||||||
|
|
||||||
set keymap vi-insert
|
set keymap vi-insert
|
||||||
# these are for vi-insert mode
|
# these are for vi-insert mode
|
||||||
Control-l: clear-screen
|
Control-l: clear-screen
|
||||||
|
Control-a: beginning-of-line
|
||||||
|
|
||||||
$endif
|
$endif
|
||||||
|
|
Loading…
Reference in a new issue