From c5faf5f1db6a3eb88e7c1c38c05d2cd1df8a3d57 Mon Sep 17 00:00:00 2001 From: memdmp Date: Sat, 1 Mar 2025 01:41:43 +0100 Subject: feat: bind ctrl+del to delete word --- zuwu.zsh | 2 ++ 1 file changed, 2 insertions(+) diff --git a/zuwu.zsh b/zuwu.zsh index d168721..da845aa 100755 --- a/zuwu.zsh +++ b/zuwu.zsh @@ -163,9 +163,11 @@ reloadopt() { if "$DELETE_CHAR"; then bindkey "^[[3~" delete-char bindkey "^[[3;2~" delete-word + bindkey "^[[3;5~" delete-word else bindkey -r "^[[3~" bindkey -r "^[[3;2~" + bindkey -r "^[[3;5~" fi if "$INSEND_MOVE_KEY"; then bindkey "^[[H" beginning-of-line -- cgit v1.2.3