adding new binding to bring up $EDITOR for command editing.

This commit is contained in:
staticsafe 2012-06-18 15:26:18 -04:00
parent 07d3bba36b
commit 65c4af271d
2 changed files with 3 additions and 1 deletions

View File

@ -3,3 +3,4 @@ bindkey "^K" kill-whole-line # ctrl-k
bindkey "^R" history-incremental-search-backward # ctrl-r bindkey "^R" history-incremental-search-backward # ctrl-r
bindkey "^A" beginning-of-line # ctrl -a bindkey "^A" beginning-of-line # ctrl -a
bindkey "^E" end-of-line # ctrl-e bindkey "^E" end-of-line # ctrl-e
bindkey '^x^e' edit-command-line # ctrl-x ctrl-e

3
.zshrc
View File

@ -1,6 +1,7 @@
autoload -U compinit promptinit autoload -U compinit promptinit edit-command-line
compinit compinit
promptinit promptinit
zle -N edit-command-line
#prompt #prompt
prompt clint prompt clint