diff --git a/zsh/modules/keybinds/init.zsh b/zsh/modules/keybinds/init.zsh index 45940fd..3073828 100644 --- a/zsh/modules/keybinds/init.zsh +++ b/zsh/modules/keybinds/init.zsh @@ -1,2 +1,6 @@ # CTRL+space to accept Autosuggest's suggestion. bindkey '^ ' autosuggest-accept + +# Open command in $EDITOR +bindkey '^E' edit-command-line +bindkey -M vicmd "v" edit-command-line diff --git a/zsh/zprofile b/zsh/zprofile index 0dc52be..19521cc 100644 --- a/zsh/zprofile +++ b/zsh/zprofile @@ -1,3 +1,6 @@ # vim: syn=zsh -env_loader zprofile \ No newline at end of file +autoload -Uz edit-command-line +zle -n edit-command-line + +env_loader zprofile