zsh: add back edit-command-line - dotfiles - 🍚 personal arsenal of "rice"
HTML git clone https://git.drkhsh.at/dotfiles.git
DIR Log
DIR Files
DIR Refs
DIR Submodules
DIR README
DIR LICENSE
---
DIR commit cfae22e4b4ff965935bd61a49308c0b3ff55fd64
DIR parent b9c3de8d8c6f8f39ceb8c1a7c1cb8c94728b047f
HTML Author: drkhsh <me@drkhsh.at>
Date: Wed, 16 Jul 2025 17:09:30 +0200
zsh: add back edit-command-line
Diffstat:
M zsh/.config/zsh/99-zinit.zsh | 4 ++++
1 file changed, 4 insertions(+), 0 deletions(-)
---
DIR diff --git a/zsh/.config/zsh/99-zinit.zsh b/zsh/.config/zsh/99-zinit.zsh
@@ -61,6 +61,10 @@ function chpwd-osc7-pwd() {
}
add-zsh-hook -Uz chpwd chpwd-osc7-pwd
+autoload -z edit-command-line
+zle -N edit-command-line
+bindkey "^X^E" edit-command-line
+
# plan9port
[ $TERM = "dumb" ] && _exists rc && rc