dotfiles

$HOME is where the <3 is
git clone git://git.alexkarle.com/dotfiles.git
Log | Files | Refs | Submodules | README

commit 3c141ff5ce331c04a5ffc7d843f6afba30c28cc8 (patch)
parent 1ef6838513a989949f252744d61de6b6ec0eae72
Author: Alexander Karle <akarle@umass.edu>
Date:   Mon, 14 May 2018 22:36:06 -0400

zsh vim key binding updates

Diffstat:
Mzshrc | 7++++++-
1 file changed, 6 insertions(+), 1 deletion(-)

diff --git a/zshrc b/zshrc @@ -25,7 +25,12 @@ KEYTIMEOUT=1 # vi keymap in terminal # credit: Doug Black (https://dougblack.io/words/zsh-vi-mode.html) bindkey -v -# bindkey jk vi-cmd-mode + +# backspace works past insert mode location +bindkey '^?' backward-delete-char + +# ctrl-r starts searching history backward +bindkey '^r' history-incremental-search-backward function zle-line-init zle-keymap-select { VIM_NORMAL_PROMPT="%{$fg_bold[yellow]%}[% N]% %{$reset_color%}"