From da2653987ac1f5bccaa5f9f09b771ae0ea062e97 Mon Sep 17 00:00:00 2001 From: Tom Dalziel Date: Tue, 9 Jul 2024 14:15:14 +0200 Subject: [PATCH] Temp test check --- evil-maps.el | 2 +- evil-tests.el | 5 +++-- 2 files changed, 4 insertions(+), 3 deletions(-) diff --git a/evil-maps.el b/evil-maps.el index 17c8a8c4..2add438c 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" #'evil-delete-backward-word)) + (define-key evil-command-line-map "\C-w" #'backward-kill-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) diff --git a/evil-tests.el b/evil-tests.el index ab49676f..65b74117 100644 --- a/evil-tests.el +++ b/evil-tests.el @@ -8375,12 +8375,13 @@ golf h[o]>tel"))) "Alpha bravo charlie alpha bravo delta bravo [d]elta")) (ert-info ("Can use C-w yank-word functionality") (let ((old-val evil-want-C-w-delete)) - (custom-set-variables '(evil-want-C-w-delete nil)) + ;;(custom-set-variables '(evil-want-C-w-delete nil)) (evil-test-buffer "alpha [b]ravo charlie delta bravo echo" ("/\C-w" [return]) "alpha bravo charlie delta [b]ravo echo") - (custom-set-variables `(evil-want-C-w-delete ,old-val)))) + ;;(custom-set-variables `(evil-want-C-w-delete ,old-val)) + )) (ert-info ("Can use backreferences with vim-style regexp") (let ((evil-ex-search-vim-style-regexp t)) (evil-test-buffer