From aad5d67aab9af43b33ad066c58a020936f4111f7 Mon Sep 17 00:00:00 2001 From: Marty Oehme Date: Fri, 8 Jul 2022 23:53:06 +0200 Subject: [PATCH] zsh: Make c-e always send zle to editor Whereas previously, zsh needed to be in vi mode to enter the editor with current zle now we can *always* enter the mode with c-e. Since the combination is not used for going to the end of the line or anything anymore anyway, we can make it a bit easier to get into vim from the zle. --- zsh/.config/zsh/.zshrc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/zsh/.config/zsh/.zshrc b/zsh/.config/zsh/.zshrc index c2b21d9..f090c0b 100644 --- a/zsh/.config/zsh/.zshrc +++ b/zsh/.config/zsh/.zshrc @@ -179,7 +179,7 @@ bindkey -M isearch '^N' history-incremental-search-forward # Send command to editor and back for execution zle -N edit-command-line -bindkey -M vicmd '^e' edit-command-line +bindkey '^e' edit-command-line # Deduplicate PATH - remove any duplicate entries from PATH # from: https://unix.stackexchange.com/questions/40749/remove-duplicate-path-entries-with-awk-command