zsh: restore some useful emacs mode bindings
This commit is contained in:
parent
483163dbbc
commit
8ea77e45ba
1 changed files with 5 additions and 0 deletions
|
@ -31,3 +31,8 @@ zle-keymap-select() {
|
||||||
}
|
}
|
||||||
zle -N zle-keymap-select
|
zle -N zle-keymap-select
|
||||||
|
|
||||||
|
# Restore some common and useful emacs mode shortcut.
|
||||||
|
bindkey -M viins '^a' vi-beginning-of-line
|
||||||
|
bindkey -M viins '^e' vi-end-of-line
|
||||||
|
bindkey -M viins '^l' vi-end-of-line
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue