.zshrc
changeset 179 ed15e30ff41a
parent 177 95c784cc8cbb
child 180 176106ed8e46
--- a/.zshrc	Sun Aug 14 22:15:22 2011 +0300
+++ b/.zshrc	Sun Aug 14 22:18:39 2011 +0300
@@ -1,3 +1,5 @@
+
+EDITOR=vim
 
 HISTFILE=~/.histfile
 HISTSIZE=1000
@@ -10,6 +12,10 @@
 setopt hist_ignore_space
 setopt hist_no_functions
 
+autoload -U edit-command-line
+zle -N edit-command-line
+bindkey '\ee' edit-command-line
+
 # Emacs like editing.
 bindkey -e