2014-07-17 01:26:38 -07:00
|
|
|
#!/bin/zsh
|
|
|
|
|
2013-03-21 19:24:13 -07:00
|
|
|
# Disable autocorrect behavior, very annoying!
|
2013-03-08 21:18:10 -08:00
|
|
|
unsetopt correct_all
|
2014-07-29 02:24:29 -07:00
|
|
|
# Don't wait for keys (snappier vi-mode)
|
2014-07-17 01:26:38 -07:00
|
|
|
export KEYTIMEOUT=1
|
2013-08-04 02:04:37 -07:00
|
|
|
|
2013-08-02 12:37:20 -07:00
|
|
|
zle -N edit-command-line
|
2013-08-04 02:04:37 -07:00
|
|
|
bindkey -v
|
2013-08-02 12:37:20 -07:00
|
|
|
bindkey '^f' edit-command-line
|
|
|
|
|
2013-08-02 13:23:37 -07:00
|
|
|
bindkey '^w' backward-kill-word
|
|
|
|
bindkey '^a' beginning-of-line
|
|
|
|
bindkey '^e' end-of-line
|