Vi mode - yet another test.
This commit is contained in:
parent
0b9d3859da
commit
b8cd79b18a
1 changed files with 12 additions and 1 deletions
13
zsh/.zshrc
13
zsh/.zshrc
|
@ -1,5 +1,16 @@
|
|||
# key mode
|
||||
bindkey -e
|
||||
bindkey -v
|
||||
bindkey '^?' backward-delete-char
|
||||
bindkey "^A" vi-beginning-of-line
|
||||
bindkey "^E" vi-end-of-line
|
||||
bindkey "^P" up-line-or-history
|
||||
bindkey "^N" down-line-or-history
|
||||
bindkey "^K" forward-char
|
||||
bindkey "^U" kill-whole-line
|
||||
bindkey -r "^[[A"
|
||||
bindkey -r "^[[B"
|
||||
bindkey -r "^[[D"
|
||||
bindkey -r "^[[C"
|
||||
mkdir -p $XDG_DATA_HOME/zsh
|
||||
|
||||
# global exports and options
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue