# vim:set ft=zsh # 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 '^[[P' delete-char bindkey "^[[H" beginning-of-line bindkey '^[[F' end-of-line bindkey '^[[1;5C' forward-word bindkey '^[[1;5D' backward-word