diff --git a/home/.config/zsh/04-keybinds.zsh b/home/.config/zsh/04-keybinds.zsh index 8f205d2..83310a9 100644 --- a/home/.config/zsh/04-keybinds.zsh +++ b/home/.config/zsh/04-keybinds.zsh @@ -37,3 +37,7 @@ if (( ${+terminfo[smkx]} )) && (( ${+terminfo[rmkx]} )); then zle -N zle-line-init zle -N zle-line-finish fi + +# use e to open command in editor +autoload edit-command-line; zle -N edit-command-line +bindkey -M vicmd e edit-command-line