Skip to content


Subversion checkout URL

You can clone with
Download ZIP
Fetching contributors…
Cannot retrieve contributors at this time
42 lines (35 sloc) 1.41 KB
# vi-keys, but with bindings to make it more intuitive for emacs people:
bindkey -v
bindkey "^P" up-line-or-history
bindkey "^N" down-line-or-history
bindkey "^K" vi-change-eol
bindkey "^R" history-incremental-search-backward
# These work in rking's linux+xterm+ssh setup, but they're still experimental:
bindkey "^[[1~" vi-beginning-of-line # Home
bindkey "^[[4~" vi-end-of-line # End
bindkey "^[[2~" beep # Insert
bindkey "^[[3~" delete-char # Del
bindkey "^[[A" up-line-or-history # Up
bindkey "^[[B" down-line-or-history # Down
bindkey "^R" history-incremental-search-backward
# Add the local compfuncs directory for other completion libraries like _git
fpath=( $HOME/.zsh/compfuncs $fpath )
# Semi-voodoo, but enables <Esc>v to use vim to edit a command:
autoload edit-command-line; zle -N edit-command-line
autoload -U compinit; compinit
bindkey -M vicmd v edit-command-line
# Load the git prompt theme system
autoload -U promptinit
# Use the wunjo prompt theme
#prompt wunjo
# XXX deprecated way - should be like in zshcompwid(1)
compctl -/ -g '*~(CVS|.svn)(/)' cd
compctl -g \
fignore=(.o \~ .swp CVS .git)
zmodload zsh/complist
zstyle ':completion:*' list-colors ''
zstyle ':completion:*:default' list-colors ${(s.:.)LS_COLORS}
zstyle ':completion:*' squeeze-slashes true
Jump to Line
Something went wrong with that request. Please try again.