commit e7e4b820daf46ecc86b20cede54effbaf59642e4 from: vincent delft date: Sun Feb 15 16:12:41 2026 UTC ctrl-x ctrl-e allow editing the command line in EDITOR. Very usefull for very long command line commit - aad9bcbebd064a9c7cbba8a114fff39dec40f4db commit + e7e4b820daf46ecc86b20cede54effbaf59642e4 blob - d242fd612d63e50f608c218ea5f1e7e51775a4fc blob + 19de0543667768d475a075cdd70b411514b4b736 --- zshrc +++ zshrc @@ -105,7 +105,16 @@ alias ssh=ssh_title # suffix alias for all .md files alias -s md="$EDITOR" + # ------------------------------------------------------------ +# open buffer line in editor +# ------------------------------------------------------------ +autoload -Uz edit-command-line +zle -N edit-command-line +bindkey '^x^e' edit-command-line + + +# ------------------------------------------------------------ # Functions # ------------------------------------------------------------ rm_nvim_session() {