Added edit-command-line functions.

This commit is contained in:
James Patrick 2019-05-02 01:49:26 -04:00
parent 31d12e4344
commit 6c2990e385
2 changed files with 8 additions and 1 deletions

View File

@ -1,2 +1,6 @@
# CTRL+space to accept Autosuggest's suggestion. # CTRL+space to accept Autosuggest's suggestion.
bindkey '^ ' autosuggest-accept bindkey '^ ' autosuggest-accept
# Open command in $EDITOR
bindkey '^E' edit-command-line
bindkey -M vicmd "v" edit-command-line

View File

@ -1,3 +1,6 @@
# vim: syn=zsh # vim: syn=zsh
autoload -Uz edit-command-line
zle -n edit-command-line
env_loader zprofile env_loader zprofile