summaryrefslogtreecommitdiffstats
path: root/zshinput
diff options
context:
space:
mode:
authorJesse Luehrs <doy@tozt.net>2013-10-31 12:15:18 -0400
committerJesse Luehrs <doy@tozt.net>2013-11-01 09:41:30 -0400
commita3ee54bd91200e0918b6cca9200ac8d0fb767d79 (patch)
tree56594c7a5f1bc9f2c2478f7c7efe80d9f491de1e /zshinput
parent519687edf2973dbd138c59678393d52c4ad1e7f8 (diff)
downloadconf-a3ee54bd91200e0918b6cca9200ac8d0fb767d79.tar.gz
conf-a3ee54bd91200e0918b6cca9200ac8d0fb767d79.zip
be explicit about vi mode for zsh
it's supposed to autodetect this from $EDITOR, but sometimes this doesn't work?
Diffstat (limited to 'zshinput')
-rw-r--r--zshinput2
1 files changed, 2 insertions, 0 deletions
diff --git a/zshinput b/zshinput
index 7c6f704..71685b7 100644
--- a/zshinput
+++ b/zshinput
@@ -1,3 +1,5 @@
+bindkey -v
+
autoload history-search-end
zle -N history-beginning-search-backward-end history-search-end
zle -N history-beginning-search-forward-end history-search-end