Variable: evil-want-C-w-in-emacs-state
evil-want-C-w-in-emacs-state is a customizable variable defined in
evil-vars.el.
Value
nil
Documentation
Whether C-w prefixes windows commands in Emacs state.
Source Code
;; Defined in ~/.emacs.d/elpa/evil-20251108.138/evil-vars.el
(defcustom evil-want-C-w-in-emacs-state nil
"Whether `C-w' prefixes windows commands in Emacs state."
:type 'boolean
:group 'evil
:set #'(lambda (sym value)
(set-default sym value)
(when (boundp 'evil-emacs-state-map)
(cond
((and (not value)
(eq (lookup-key evil-emacs-state-map (kbd "C-w"))
'evil-window-map))
(define-key evil-emacs-state-map (kbd "C-w") nil))
((and value
(not (lookup-key evil-emacs-state-map (kbd "C-w"))))
(define-key evil-emacs-state-map (kbd "C-w") 'evil-window-map))))))