From 39a4fe5ae9e89ddd09b52420ba1d3b4a9d756f62 Mon Sep 17 00:00:00 2001 From: Jesse Luehrs Date: Sun, 27 Oct 2013 20:07:07 -0400 Subject: oops, i already had a file for this --- zshinput | 9 +++++++++ zshrc | 10 ---------- 2 files changed, 9 insertions(+), 10 deletions(-) diff --git a/zshinput b/zshinput index 73fdd65..7c6f704 100644 --- a/zshinput +++ b/zshinput @@ -12,6 +12,15 @@ bindkey -M vicmd '/' history-incremental-search-backward bindkey -M vicmd '?' history-incremental-search-forward bindkey -rM viins '^[/' +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 + bindkey "^?" backward-delete-char bindkey "^H" backward-delete-char bindkey "^U" backward-kill-line diff --git a/zshrc b/zshrc index f49d55f..3a1514e 100644 --- a/zshrc +++ b/zshrc @@ -60,16 +60,6 @@ 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