Redo zsh keybinds

This commit is contained in:
Henrik Lissner 2015-12-10 05:38:28 -05:00
parent 2be502a886
commit 4fb1c8a02c

View file

@ -4,27 +4,32 @@ bindkey -v
autoload -Uz edit-command-line autoload -Uz edit-command-line
zle -N edit-command-line zle -N edit-command-line
bindkey '^ ' edit-command-line bindkey '^ ' edit-command-line
bindkey '^@' edit-command-line
# zsh-autopair # zsh-autopair
bindkey '`' autopair-insert bindkey -M viins '`' autopair-insert-or-skip
bindkey '"' autopair-insert bindkey -M viins '"' autopair-insert-or-skip
bindkey "'" autopair-insert bindkey -M viins "'" autopair-insert-or-skip
bindkey '(' autopair-insert bindkey -M viins '(' autopair-insert
bindkey '[' autopair-insert bindkey -M viins '[' autopair-insert
bindkey '{' autopair-insert bindkey -M viins '{' autopair-insert
bindkey '^?' autopair-delete # smart backspace bindkey -M viins '^?' autopair-delete # smart backspace
bindkey '^n' history-substring-search-down bindkey -M viins ')' autopair-skip
bindkey '^p' history-substring-search-up bindkey -M viins ']' autopair-skip
bindkey '^s' history-incremental-pattern-search-backward bindkey -M viins '}' autopair-skip
bindkey '^u' undo
bindkey '^r' redo bindkey -M viins '^n' history-substring-search-down
bindkey '^w' backward-kill-word bindkey -M viins '^p' history-substring-search-up
bindkey '^b' backward-word bindkey -M viins '^s' history-incremental-pattern-search-backward
bindkey '^e' forward-word bindkey -M viins '^u' undo
bindkey '^q' push-line-or-edit bindkey -M viins '^r' redo
bindkey '^a' beginning-of-line bindkey -M viins '^w' backward-kill-word
bindkey '^e' end-of-line bindkey -M viins '^b' backward-word
bindkey -M viins '^e' forward-word
bindkey -M viins '^q' push-line-or-edit
bindkey -M viins '^a' beginning-of-line
bindkey -M viins '^e' end-of-line
# Shift + Tab # Shift + Tab
bindkey -M viins '^[[Z' reverse-menu-complete bindkey -M viins '^[[Z' reverse-menu-complete