Questions tagged [evil-mode]

Evil (Extensible Vi Layer for Emacs) is a vim emulator for emacs

Evil is a reasonably full-featured and extensible vim emulator for emacs. It may be considered the successor to both Vim Mode and Viper/Vimpulse

Evil home page

183 questions
3
votes
2 answers

Temporarily disable Vim keybindings in Spacemacs

I have Spacemacs installed with Evil-mode enabled. Sometimes when someone who is used to Emacs is using my Spacemacs I want to disable the Vim keybindings and have regular Emacs bindings. Is it possible to toggle (enable or disable) the Vim…
user2609980
  • 10,264
  • 15
  • 74
  • 143
3
votes
3 answers

Change dd command in evil mode to not write to clipboard

I would like to use normal modes commands like d c x etc without the content being copied to clipboard. I want to make emacs so that only y command will write anything to the clipboard. Other commands like d should only delete the content without…
meain
  • 833
  • 9
  • 28
3
votes
2 answers

Emacs evil mode - How can I mimic the 'ex-showmarks' Vim plugin?

The Vim 'ex-showmarks' plugin visually displays Vim marks in a file gutter, something like this: I miss this functionality and am trying to find a way to replicate it in Emacs evil mode, and would like to make sure there's not some quick solution…
Benji L.
  • 197
  • 11
3
votes
1 answer

Emacs evil: space as a prefix key in motion state

I want to be able to navigate windows with SPC h/j/k/l. I can just put (wrong, see edit) (define-key evil-normal-state-map (kbd "SPC h") 'evil-window-left) for normal state (or I could go and use evil-leader...), but neither of these work for…
fhyve
  • 323
  • 2
  • 13
3
votes
1 answer

how to map `q:i` on evil-mode

I have a problem of mapping q:i on normal-mode, what i want is to open the ex-command-window and go to the insert mode. this is my solution, but it will only open the command window without going to the insert mode: (evil-define-command…
Ary Purnomoz
  • 131
  • 2
  • 9
3
votes
1 answer

Use 'execute-extended-command' from Evil command mode (M-x is undefined)

I just started experimenting with emacs. And as a Vim user I did not want to bother use it without installing evil-mode first. However, evil-mode seems to break the emacs keybinding for 'execute-extended-command' (M-x). I really don't care about…
Michelrandahl
  • 3,365
  • 2
  • 26
  • 41
3
votes
1 answer

Emacs - evil-mode causes flicker in eldoc-mode

Any movement commands cause the eldoc-message in the minibuffer to flicker. Disabling evil-mode eliminates the flicker. From the eldoc documentation, I found this relevant snippet. ;; This function goes on pre-command-hook for XEmacs or when using…
Joe
  • 3,370
  • 4
  • 33
  • 56
3
votes
2 answers

Use only two functions from the evil package as keybinding

I want to get the search at point functionality ("*" and "#") in emacs. So I want to use "*" and "#" from the emacs evil-mode, as this is one of the suggestions. However, I don't want anything else from the evil-mode, just those two functions! This…
mrsteve
  • 4,082
  • 1
  • 26
  • 63
3
votes
1 answer

what is the meta key when in evil mode

What is the meta key when in emacs evil mode? I have the leader key defined like this: (require 'evil-leader) (global-evil-leader-mode) (evil-leader/set-leader ",") (evil-leader/set-key "." 'eval-buffer "," 'projectile-find-file "t"…
dagda1
  • 26,856
  • 59
  • 237
  • 450
3
votes
1 answer

Software Requirements for Code Creation / Editor with RSI Type Symptoms (unusable fingers)

I do know and have read the appropriate topics section for this site. I have seen various topics about RSI, posture etc closed as being off topic and referred to another site/section. I think however that my question will be worded such that it…
Axiombadger
  • 161
  • 10
3
votes
1 answer

emacs evil mode ctrl-[ irritating delay switching to normal mode

in emacs evil mode ctrl-[ puts you in normal mode. but there is an irritating delay of about a .5 seconds. For instance if I'm in insert mode and want to move up 2 lines I would do ctrl-[ k k but this doesn't work cause I hit the k to quickly,…
wat
  • 53
  • 1
  • 4
3
votes
1 answer

Negative argument in Evil mode

Is there a way to enter negative arguments in Evil in Emacs? i.e. I want to kill 5 lines back ward, instead of 5dd, is there something like -5dd?
Amumu
  • 17,924
  • 31
  • 84
  • 131
3
votes
2 answers

How to keep traditional binding on M-x in emacs evil mode

I am trying to bind execute-extended-command to M-x in evil normal mode. I currently have ;; evil mode (require 'evil) (evil-mode 1) (define-key evil-normal-state-map "M-x" 'execute-extended-command) in my .emacs file but the keybinding doesn't…
CrabMan
  • 1,578
  • 18
  • 37
3
votes
2 answers

Keep Emacs Evil from switching to normal mode when exiting minibuffer

I'm an evil Emacs user. However, I really only use the normal mode for fancy Vim style edits when I find them more convenient than regular Emacs commands. (Mostly fancy bulk editing/yanking/deleting). However, I'm also a huge user of the minibuffer…
PythonNut
  • 6,182
  • 1
  • 25
  • 41
3
votes
2 answers

Use the default-input-method when doing an incremental search in EVIL?

Before loading EVIL for vim emulation in emacs, I have the following in my .emacs file: (activate-input-method "english-dvorak") (setq default-input-method "english-dvorak") However, when I type / to start an incremental search with EVIL, the…
Gordon Gustafson
  • 40,133
  • 25
  • 115
  • 157