From 4af49ed67fbf358674d45fb8af3c4c3efaf90f58 Mon Sep 17 00:00:00 2001 From: Timmy Keller Date: Thu, 7 Jul 2022 15:55:41 -0500 Subject: tons of changes from when website was down --- zsh/zscripts/keybindrc.zsh | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) (limited to 'zsh/zscripts/keybindrc.zsh') 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 -- cgit v1.2.3