fix(zsh): insert on accept, don't immediately submit line
This commit is contained in:
+1
-2
@@ -16,8 +16,7 @@ bindkey ' ' magic-space
|
||||
|
||||
# https://zsh.sourceforge.io/Doc/Release/Zsh-Line-Editor.html#Completion
|
||||
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 # Toggle interactive mode
|
||||
bindkey -M menuselect '^F' vi-insert
|
||||
|
||||
# See: https://zsh.sourceforge.io/Doc/Release/Completion-System.html#Standard-Styles
|
||||
# :completion:<function>:<completer>:<command>:<argument>:<tag>
|
||||
|
||||
Reference in New Issue
Block a user