Stack Exchange Network

Stack Exchange network consists of 175 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.

Visit Stack Exchange

Hot answers tagged


This is impossible with Evil's current design. Here's roughly what happens for a normal Emacs command: Emacs waits for a complete keybinding You press a key Emacs looks it up in the currently active keymaps It finds a match for a prefix It waits for another key in that prefix map It looks it up again This repeats until a full keybinding has been read Emacs ...


All you need to do is assign your keybinding of choice to evil-window-map, whose docstring is: Prefix command (definition is a keymap associating keystrokes with commands). In your case, the following should work: (global-set-key (kbd "\C-c w") #'evil-window-map)

Only top voted, non community-wiki answers of a minimum length are eligible