.zshrc
author Oleksandr Gavenko <gavenkoa@gmail.com>
Sun, 14 Aug 2011 22:18:39 +0300
changeset 179 ed15e30ff41a
parent 177 95c784cc8cbb
child 180 176106ed8e46
permissions -rwxr-xr-x
Set editor to VIM. Bind edit command for shells.


EDITOR=vim

HISTFILE=~/.histfile
HISTSIZE=1000
SAVEHIST=1000

setopt autocd beep extendedglob nomatch notify

setopt hist_ignore_all_dups
setopt append_history
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