zsh: kill whole line with ^u rather than from start of insert

This commit is contained in:
Fernando Schauenburg 2023-10-04 23:52:06 +02:00
parent 91719784e5
commit 8ccaf2bfec

View file

@ -38,6 +38,7 @@ export KEYTIMEOUT=1
bindkey -M viins '^a' vi-beginning-of-line
bindkey -M viins '^e' vi-end-of-line
bindkey -M viins '^l' clear-screen
bindkey -M viins '^u' kill-whole-line
bindkey -M viins '^[.' insert-last-word
# Search through history in insert mode.