From e263d5e90ef8f1e2400cacc0c813320ae0e78fcf Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Marc=20Cornell=C3=A0?= Date: Thu, 1 Apr 2021 00:32:18 +0200 Subject: [PATCH] Make CTRL+U delete the whole typed command --- zshrc | 2 ++ 1 file changed, 2 insertions(+) diff --git a/zshrc b/zshrc index c6c4a9f..0050e89 100644 --- a/zshrc +++ b/zshrc @@ -92,6 +92,8 @@ alias bindkey='noglob bindkey' ## Key bindings +# delete whole buffer +bindkey '^U' kill-buffer # ALT + i more accessible Undo bindkey '^[i' undo # ALT + DEL deletes whole forward-word