diff options
Diffstat (limited to 'zsh/zscripts/keybindrc.zsh')
-rwxr-xr-x | zsh/zscripts/keybindrc.zsh | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/zsh/zscripts/keybindrc.zsh b/zsh/zscripts/keybindrc.zsh index 1f0e93a..67dfcd5 100755 --- a/zsh/zscripts/keybindrc.zsh +++ b/zsh/zscripts/keybindrc.zsh @@ -1,8 +1,8 @@ #!/usr/bin/env zsh # Vi mode + requirements for ALL keybindings to work correctly -bindkey -v -export KEYTIMEOUT=1 +bindkey -v # Select viins keymap +KEYTIMEOUT=1 # Keybindings autoload edit-command-line; zle -N edit-command-line # Edit line in Vim buffer @@ -19,10 +19,10 @@ bindkey '^[[M' delete-word # Ctrl-Delete - delete currect word in front of the bindkey '\e[A' history-search-backward # Up arrow - seach history backwards bindkey '\e[B' history-search-forward # Down arrow - seach history forwards # Ctrl-vi keys emulate arrow keys -bindkey '^H' emacs-backward-word # Ctrl-L - go back one word -bindkey '^J' history-search-forward # Ctrl-J - seach history backwards -bindkey '^K' history-search-backward # Ctrl-K - seach history forwards -bindkey '^L' emacs-forward-word # Ctrl-H - go forward one word +#bindkey '^H' emacs-backward-word # Ctrl-L - go back one word +#bindkey '^J' history-search-forward # Ctrl-J - seach history backwards +#bindkey '^K' history-search-backward # Ctrl-K - seach history forwards +#bindkey '^L' emacs-forward-word # Ctrl-H - go forward one word # Basic auto/tab complete autoload -U compinit @@ -39,4 +39,4 @@ bindkey -M menuselect '^j' vi-down-line-or-history bindkey -v '^?' backward-delete-char # Ignore ctrl-d to exit shell -setopt ignore_eof +setopt IGNORE_EOF |