Contents
How to remap Emacs Evil-Mode toggle key from Ctrl-Z?
I’d like to remap the toggle key for emacs evil mode. From Ctrl + Z to something that won’t confuse me like the CUA bindings (I’d like Ctrl + Alt + `, but I think that terms don’t recognize that one). In this external thread is a discussion on trying to do this with Viper mode.
Is there an evil toggle key for Vim?
Once one is fairly used to using less, Gmail, and Vimium, the vim key bindings for browsing are nice to go easy on the hands when mostly reading files. Less hitting the Ctrl which helps the hands/wrists. No need to modify the source. Just customize “evil-toggle-key”.
How can I change the behaviour of evil?
Evil’s behaviour can be adjusted by setting some variables. The list of all available variables and their current values can be inspected by doing: To change the value of a variable, you can use this interface, or add a setq form to your Emacs init file, preferably before Evil is loaded. [1]
How to set the default cursor in evil?
Use the variable evil-default-cursor to set the default cursor, and the variables evil-normal-state-cursor, evil-insert-state-cursor etc. to set the cursors for specific states. The acceptable values for all of them are the same. The default cursor.
How to set up Autocompletion in Emacs evil collection?
Set up autocompletion to be similar to Vim’s YouCompleteMe. Set up Org functions in calendar keymap. Enable -based bindings in Outline mode. Synchronize insert/normal state with char/line-mode in term-mode. Set up Vim style bindings in the minibuffer.
What should evil want integration be in evil collection?
evil-collection assumes evil-want-keybinding is set to nil and evil-want-integration is set to t before loading evil and evil-collection. Note some other packages may load evil (e.g. evil-leader) so bear that in mind when determining when to set the variables.
How to map ” JJ ” to ESC in Emacs Evil Mode?
For Ubuntu, I followed E. Sambo’s answer. It’s a bit more complicated – you have to watch for the previous character. This should do the trick. (the gist is for “jk”, you can easily modify it for “jj” though you will note that “jk” is more efficient/faster).
Is the Keychord library compatible with Emacs evil?
It is inspired by @phils answer above and based on Simon’s Coding Blog: Emacs and Unity Every Day. I don’t know whether it works with Evil, but for Emacs in general the KeyChord library is designed for this sort of thing.