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
5
votes
1 answer

idris-mode – Buffer has no process

I'm new to emacs (coming from vim, where I can't get idris-vim to work) and have these packages installed via el-get: ace-jump-mode installed A quick cursor location minor mode for emacs. el-get installed Manage the external…
mudri
  • 758
  • 3
  • 16
5
votes
3 answers

Emacs + Evil: non incremental search and persistent highlighting?

I'm trying Emacs+Evil after almost two decades as a Vim user. I'm moving most of my Vim configuration to Evil but one thing that I'm having a lot of problems is to set the search and highlighting like the one I use with Vim. What I'm trying to get…
juanjux
  • 621
  • 6
  • 15
5
votes
1 answer

emacs evil-mode key map

yep I am the one who started to use EMACS but not willing to abandon the VIM skills I learned. evil is definitely a good thing. the issue I am encountering is that there too few documentation for this. Obviously I am using a tiny fraction of the…
zinking
  • 5,561
  • 5
  • 49
  • 81
4
votes
1 answer

Key mapping in Evil-mode Emacs

I am new to Emacs and have been using evil-mode. I have been having some trouble remapping some of the mappings that i had in vim. In vim it was easy to remap keys using the map function. I wanted to remap cw to ciw and dw to diw. But I dont have…
hussamh10
  • 129
  • 9
4
votes
2 answers

increment numbers in visual vertical block selection in emacs evil

I have been using https://github.com/vim-scripts/increment.vim--Avadhanula for vim for years. How could i leverage functionality similarly in emacs? The idea be something like this: given a list such as the following: the_array[0] the_array[0]…
joefromct
  • 1,506
  • 13
  • 33
4
votes
3 answers

Insert complete lines with Emacs + Evil

In Vim, I often move lines by deleting them (either with dd or visual line mode), moving my cursor to the new position, then p to put them in: first second third And if my cursor is on the line second, I can use ddp to move it…
David Wolever
  • 148,955
  • 89
  • 346
  • 502
4
votes
4 answers

Evil Emacs mode: sentence motions and other questions

I love vim. It gives me the feeling that I am reaching directly into the text and bending it to my will. That said. I also like Clojure, and Clojurescript, and Lisp, and Org-mode. I really, really tried to like Emacs, in Evil mode, and I gave it 6-8…
tom
  • 541
  • 1
  • 5
  • 16
4
votes
5 answers

How to remap a function to another in Emacs?

In coffee-mode RET is bound to coffee-newline-and-indent which works fine. I also use evil-mode to have Vim emulation. evil-mode uses the standard newline-and-indent so the indentation is not correct for some vim commands such as o or O. What would…
mtgred
  • 1,449
  • 14
  • 17
4
votes
2 answers

Installing Emacs Evil Mode for Windows

I want to install Emacs Evil mode in Windows, but I can't find any documentation on the subject. Does Evil mode exist for Windows? If so how do I install?
user1574319
  • 41
  • 1
  • 2
3
votes
1 answer

Symbol's function definition is void: declare-function

New to emacs. GNU Emacs 22.1.1 on OSX. Installed evil as per instructions. I get: Symbol's function definition is void: declare-function emacs --debug-init gives: Debugger entered--Lisp error: (void-function declare-function) (declare-function…
rahul
  • 598
  • 1
  • 9
  • 20
3
votes
2 answers

Unable to remap evil key bindings

I am new to emacs and I have been trying to remap some of the keys inside of evil mode. I have been trying to remap the keys for switching between windows and so far I have had no luck. (use-package evil :config (evil-mode 1) (define-key…
Ali Awan
  • 180
  • 10
3
votes
3 answers

Emacs Evil mode - How to remap 'hjkl'?

I use Colemak keyboard layout and the conventional Vim 'hjkl' are not comfortable. In my .vimrc I've added the following to replace 'hjkl' with 'neio' (and vice versa). noremap n h noremap e j noremap i k noremap o l noremap h n noremap j e noremap…
lillemets
  • 928
  • 1
  • 9
  • 15
3
votes
1 answer

properly editing a shell buffer with evil-mode

I'm using evil-mode. When I type M-x multi-term zsh opens up. I then type bcdef in the terminal. Then I hit ESC to enter normal mode, then b so my cursor is place on b of the bcdef word. Then I hit i to enter insert mode and then I type a to insert…
ninrod
  • 523
  • 6
  • 25
3
votes
1 answer

Search visual selction in emacs evil

I want to emulate a behavior I've had in vim, but in emacs evil-mode. I want * to search for the current visually selected text. The code below sort of works, but pressing n or N does not retain the search string (define-key evil-visual-state-map…
Alexander Kondratskiy
  • 4,156
  • 2
  • 30
  • 51
3
votes
2 answers

Does `evil-mode` have vim like `changes` function?

As per vim wiki: Vim remembers the locations where changes occurred. Each position (column number, line number) is recorded in a change list, and each buffer has a separate change list that records the last 100 positions where an undo-able…
user3156459
  • 1,123
  • 2
  • 9
  • 17
1 2
3
12 13