Skip to content

Commit a556591

Browse files
committed
ZSH: Add Ctrl-X Ctrl-E to edit command line in $EDITOR
1 parent c523f8a commit a556591

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

home/dot_config/zsh/exact_private_zsh.d/private_050_misc_config.zsh

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -272,6 +272,11 @@ bindkey '^I' complete-word
272272
# Cycle in reverse with Shift-Tab
273273
bindkey '^[[Z' reverse-menu-complete
274274

275+
# Ctrl-X Ctrl-E: edit command line in $EDITOR
276+
autoload -Uz edit-command-line
277+
zle -N edit-command-line
278+
bindkey '^X^E' edit-command-line
279+
275280
#############################################################################
276281

277282
# }}}

0 commit comments

Comments
 (0)