diff --git a/zsh/.zshrc b/zsh/.zshrc index 237c208..7024314 100644 --- a/zsh/.zshrc +++ b/zsh/.zshrc @@ -79,6 +79,11 @@ if [ -e /usr/bin/keychain ]; then eval $(/usr/bin/keychain --eval -Q --quiet id_ed25519) fi +# ctrl-x opens up the command line in $EDITOR +autoload -U edit-command-line +zle -N edit-command-line +bindkey "^X" edit-command-line + # direnv setup whence -p direnv &>/dev/null && eval "$(direnv hook zsh)"