From fc2b016cd9f819c7a1e5f989a84c93664bbf407b Mon Sep 17 00:00:00 2001 From: Tom Dalziel Date: Tue, 9 Jul 2024 14:03:30 +0200 Subject: [PATCH] Fix C-w behaviour in ex command prompt Fixes #1921 --- evil-maps.el | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/evil-maps.el b/evil-maps.el index 2add438c..17c8a8c4 100644 --- a/evil-maps.el +++ b/evil-maps.el @@ -624,7 +624,7 @@ included in `evil-insert-state-bindings' by default." (define-key evil-command-line-map "\C-u" 'evil-delete-whole-line) (define-key evil-command-line-map "\C-v" #'quoted-insert) (when evil-want-C-w-delete - (define-key evil-command-line-map "\C-w" #'backward-kill-word)) + (define-key evil-command-line-map "\C-w" #'evil-delete-backward-word)) (define-key evil-command-line-map [escape] #'abort-recursive-edit) (define-key evil-command-line-map [S-left] #'backward-word) (define-key evil-command-line-map [S-right] #'forward-word)