fix(zsh): insert on accept, don't immediately submit line

This commit is contained in:
2026-04-21 20:34:59 +02:00
parent a857da8caf
commit 5dd087538d
+1 -2
View File
@@ -16,8 +16,7 @@ bindkey ' ' magic-space
# https://zsh.sourceforge.io/Doc/Release/Zsh-Line-Editor.html#Completion # https://zsh.sourceforge.io/Doc/Release/Zsh-Line-Editor.html#Completion
bindkey -M menuselect '^[[Z' reverse-menu-complete bindkey -M menuselect '^[[Z' reverse-menu-complete
bindkey -M menuselect '^M' .accept-line # Immediately execute command line on <Enter> bindkey -M menuselect '^F' vi-insert
bindkey -M menuselect '^F' vi-insert # Toggle interactive mode
# See: https://zsh.sourceforge.io/Doc/Release/Completion-System.html#Standard-Styles # See: https://zsh.sourceforge.io/Doc/Release/Completion-System.html#Standard-Styles
# :completion:<function>:<completer>:<command>:<argument>:<tag> # :completion:<function>:<completer>:<command>:<argument>:<tag>