From 4fa9c9cde5d800cd405f25aa69311a829ebe3332 Mon Sep 17 00:00:00 2001 From: Jesse Luehrs Date: Sun, 27 Oct 2013 00:48:19 -0400 Subject: copy over some of my new vim keybindings to zsh --- zshrc | 9 +++++++++ 1 file changed, 9 insertions(+) (limited to 'zshrc') diff --git a/zshrc b/zshrc index 140c625..f49d55f 100644 --- a/zshrc +++ b/zshrc @@ -60,7 +60,16 @@ export HISTSIZE=1000000000 export SAVEHIST=1000000000 export SPROMPT="Correct $fg[red]%R$reset_color to $fg[green]%r$reset_color? [ynae] " export KEYTIMEOUT=5 +# keybindings {{{ bindkey -M vicmd ')' vi-digit-or-beginning-of-line +bindkey -M vicmd 'e' vi-change +bindkey -M vicmd 'E' vi-change-eol +bindkey -M vicmd ',' execute-named-command +bindkey -M vicmd '!' vi-insert +bindkey -M vicmd '_' vi-first-non-blank +bindkey -M vicmd '|' send-break +bindkey -M vicmd '\' send-break +# }}} # plugins {{{ # cdhist {{{ source ~/.sh/cdhist.sh -- cgit v1.2.3-54-g00ecf