New answers tagged evil
1
vote
Accepted
How to make :q, in spacemacs' evil mode, kill the buffer and delete the window, but not kill Emacs?
The commands entered by pressing : are, similar to vim, called 'evil-ex-commands'. How to remap them is described in this issue. For your case, you probably want:
(global-set-key [remap evil-quit] '...
0
votes
Create avy zap to char and up to char function
evil-avy-goto-char-in-line is an evil motion command, which means that you can combine it with d, y, c etc. You could bind it to f using (evil-global-set-key 'motion "f" #'avy-goto-char-in-...
1
vote
Evil mode send escape before Alt/Meta-command
I do not understand why you would prefer to have some binding that would switch to normal-state instead of just staying in insert-state, and in that case you can simply bind the normal-state-commands ...
1
vote
Accepted
How to map the space/insert whitespace key to a some key for the evil mode?
You can use kbd for defining the keybinding. You can look up the string that kbd expects by using C-h k M-SPC. Subsequently, you can just use the insert function inside a command to insert some string....
Top 50 recent answers are included
Related Tags
evil × 493key-bindings × 120
spacemacs × 79
org-mode × 41
doom × 16
vim-emulation × 16
motion × 15
keymap × 14
indentation × 12
copy-paste × 12
search × 10
init-file × 8
hooks × 8
text-editing × 8
magit × 7
dired × 7
cursor × 7
advice × 7
code-folding × 7
regular-expressions × 6
replace × 6
yank × 6
buffers × 5
commands × 5
scrolling × 5