helm/zsh/config
2014-08-21 03:28:28 -04:00

26 lines
576 B
Bash

#!/bin/zsh
# Disable autocorrect behavior, very annoying!
# unsetopt correct_all
# Don't wait for keys (snappier vi-mode)
# export KEYTIMEOUT=1
zle -N edit-command-line
bindkey -v
bindkey '^f' edit-command-line
bindkey -M viins '^w' backward-kill-word
bindkey -M viins '^a' beginning-of-line
bindkey -M viins '^e' end-of-line
bindkey -M viins ' ' magic-space
bindkey -M viins 'jj' vi-cmd-mode
bindkey -M vicmd "q" push-line
# Incremental search is elite!
bindkey -M vicmd "/" history-incremental-search-backward
bindkey -M vicmd "?" history-incremental-search-forward