feat(shell): add C-x C-e keybinding to open current command in EDITOR

This commit is contained in:
2020-10-09 10:53:58 +01:00
parent 509b3000d6
commit 09af945a93

8
zshrc
View File

@@ -78,6 +78,14 @@ zstyle ':completion:*:descriptions' format '%B%d%b'
zstyle ':completion:*:make:*:targets' call-command true
zstyle ':completion:*:make:*' tag-order targets
# ==============================================================================
# Edit command line
# ==============================================================================
autoload -z edit-command-line
zle -N edit-command-line
bindkey "^X^E" edit-command-line
# ==============================================================================
# Private Dotfiles
# ==============================================================================