diff options
author | Timmy Keller <tjk@tjkeller.xyz> | 2022-07-07 15:55:41 -0500 |
---|---|---|
committer | Timmy Keller <tjk@tjkeller.xyz> | 2022-07-07 15:55:41 -0500 |
commit | 4af49ed67fbf358674d45fb8af3c4c3efaf90f58 (patch) | |
tree | f7619b516c34be16aaae9bb8ecf43d2504ceca31 /zsh/zscripts/keybindrc.zsh | |
parent | 66bff0b5ef46550866c959bb745a61363dc5331f (diff) | |
download | dotconfig-4af49ed67fbf358674d45fb8af3c4c3efaf90f58.tar.xz dotconfig-4af49ed67fbf358674d45fb8af3c4c3efaf90f58.zip |
tons of changes from when website was down
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 |