ctrl-a to beginning of line in vi bash
This commit is contained in:
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
|
||||||
|
|||||||
Reference in New Issue
Block a user