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

21 lines
517 B
Plaintext

# vi mode
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
# Widgets
bindkey '^e' lfwrap
bindkey '^g' lg
bindkey -M vicmd '^v' edit-command-line
bindkey '^?' backward-delete-char
bindkey '^[[3~' delete-char
bindkey "^[[H" beginning-of-line
bindkey '^[[4~' end-of-line
bindkey '^[[1;5C' forward-word
bindkey '^[[1;5D' backward-word