From 0aa48028f894e3ccaaf602e288b399baa60260e6 Mon Sep 17 00:00:00 2001 From: Gea-Suan Lin Date: Mon, 28 Dec 2015 09:51:04 +0800 Subject: [PATCH] Revert to emacs mode, just change ^w to vi-backward-kill-word. --- .zshrc | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/.zshrc b/.zshrc index efa9e57..b2cf7cf 100644 --- a/.zshrc +++ b/.zshrc @@ -58,7 +58,7 @@ precmd() { fi } # -bindkey -v +bindkey -e typeset -A key key[Delete]=${terminfo[kdch1]} key[Down]=${terminfo[kcud1]} @@ -95,6 +95,8 @@ zle -N history-beginning-search-forward-end history-search-end bindkey "${key[Up]}" history-beginning-search-backward-end bindkey "${key[Down]}" history-beginning-search-forward-end # +bindkey '^w' vi-backward-kill-word +# if [[ "`uname -s`" == "FreeBSD" || "`uname -s`" == "Darwin" ]]; then alias "ls=/bin/ls -aFG" alias "w=/usr/bin/w -i"