Created
July 3, 2011 16:03
-
-
Save code-later/1062341 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/zsh | |
bindkey -e '^[[3~' delete-char | |
# bindkey -v "^[Od" backward-word | |
# bindkey -v "^[Oc" forward-word | |
bindkey -e "^A" beginning-of-line | |
bindkey -e "^E" end-of-line | |
bindkey -e "^K" kill-line | |
bindkey -e "^L" clear-screen | |
bindkey -e "^U" kill-whole-line | |
bindkey -e "^V" quoted-insert | |
bindkey -e "^W" backward-kill-word | |
bindkey -e "^N" down-history | |
bindkey -e "^P" up-history | |
bindkey -e "^[H" run-help | |
bindkey -e "^[h" run-help | |
# alow for editing of the command line | |
# http://zshwiki.org/home/examples/zlewidgets | |
autoload -U edit-command-line | |
zle -N edit-command-line | |
bindkey -a 'v' edit-command-line | |
# vi editing | |
bindkey -e | |
bindkey '^r' history-incremental-search-backward | |
bindkey '^f' history-incremental-search-forward |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment