1
0
Fork 0
dotfiles/.config/zsh/configs/bindings

21 lines
521 B
Text
Raw Normal View History

2023-03-29 16:15:06 +02:00
# vim:set ft=zsh
# vi mode
bindkey -M vicmd v edit-command-line
bindkey -v
# Use vim keys in tab complete menu:
bindkey -M menuselect 'h' vi-backward-char
bindkey -M menuselect 'k' vi-up-line-or-history
bindkey -M menuselect 'l' vi-forward-char
bindkey -M menuselect 'j' vi-down-line-or-history
bindkey '^e' _lfcd
bindkey '^g' lg
bindkey -v '^?' backward-delete-char
bindkey '^[[P' delete-char
bindkey "^[[H" beginning-of-line
bindkey '^[[F' end-of-line
bindkey '^[[1;5C' forward-word
bindkey '^[[1;5D' backward-word