zsh: edit current command line in $EDITOR with C-x C-e
Alan Pearce alan@alanpearce.eu
Mon, 22 May 2023 19:05:45 +0200
1 files changed, 4 insertions(+), 0 deletions(-)
jump to
M user/zsh/zshrc → user/zsh/zshrc
@@ -87,6 +87,10 @@ bindkey '\e^f' forward-argument bindkey '\e^d' backward-kill-argument bindkey '\e^k' kill-argument +autoload -Uz edit-command-line +zle -N edit-command-line +bindkey '^x^e' edit-command-line + sort=${commands[gsort]:-$commands[sort]} ds () {