Add edit-command-line zsh keybinding

This commit is contained in:
Peter Vacho 2025-12-31 15:09:27 +01:00
parent 873d78021e
commit 12ac14ccba
No known key found for this signature in database
GPG key ID: 00ACA0D6AF712EC9

View file

@ -63,3 +63,7 @@ bindkey ' ' magic-space
# [ctrl+space] Accept suggestion from zsh-autosuggestions plugin # [ctrl+space] Accept suggestion from zsh-autosuggestions plugin
bindkey '^ ' autosuggest-accept bindkey '^ ' autosuggest-accept
# [Ctrl-xe] - open buffer line in editor
autoload -Uz edit-command-line
zle -N edit-command-line
bindkey '^X^e' edit-command-line