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
1
vote
1 answer

Built-in Evil mode for Emacs 24

I've read in a lot of places such as the WikEmacs (http://wikemacs.org/wiki/Evil) that Emacs24 already came with support for Evil mode, no need to install it via el-get. But I can't seem to understand how do I activate it. I tried just adding the…
gtbono
  • 423
  • 4
  • 17
1
vote
2 answers

Send EOF (^D) to emacs ansi-term

When I use ansi-term mode in Emacs, and run a program such as cat, ^D does not end the input like it normally does. If fact, it doesn't seem to do anything at all. ^C still works. I have Evil installed
Functino
  • 1,939
  • 17
  • 25
1
vote
1 answer

Start evil mode in insert for some buffers

I would like to set some buffers to be opened in insert mode in evil. For example in read-only buffers there is no point in having a normal mode since i then can't use q to exit but i have to do i q. This is annoying for interactive modes that…
user3139545
  • 6,882
  • 13
  • 44
  • 87
1
vote
2 answers

Replace text literally without regular expression in Emacs evil-mode

In vim, I could use :%sno/[abt]//g to remove all text of "[abt]" literally (as explained here). I tried the same command in evil-mode, but it complains it doesn't understand the sno command, so how can I do the same thing in evil-mode?
Daniel Wu
  • 5,853
  • 12
  • 42
  • 93
1
vote
1 answer

exit Emacs evil operator mode with "jk" keychord

I want to exit evil-mode's operator pending state when I press "jk" in quick succession. For example, If I press d, and then jk, nothing should be deleted and Emacs should be in normal mode. I tried using key-chord.el to exit the operator mode like…
Joe
  • 3,370
  • 4
  • 33
  • 56
1
vote
1 answer

Emacs ElDoc interfere Evil search

I use Emacs with Evil mode, and while I entering the search pattern, the ElDoc message is displayed replace the current search pattern. It is quite annoying. I looked into ElDoc and see a function eldoc-display-message-p that check for conditions…
tungd
  • 14,467
  • 5
  • 41
  • 45
1
vote
1 answer

Opening a new line in evil-mode

Consider the following piece of code: (goto-char (point-max)) (insert "\n") In normal state of evil-mode goto-char moves the cursor to the end of line visually, but it points before the last symbol, not after. Although the example above works just…
egdmitry
  • 2,071
  • 15
  • 18
1
vote
1 answer

Emacs weird behaviour with key

I'm a Vim user, and I decided to give Emacs a try. Now I get a weird problem with Emacs. I installed the Evil mode, which is awesome. In my .emacs I have the follow setting: (define-key evil-motion-state-map "\C-u" 'scroll-up-command) This works…
ReneFroger
  • 484
  • 8
  • 20
1
vote
0 answers

emacs evil mode moving up

I have a weird behaviour with evil-mode in emacs. When I move up by 'k' or up arrow after empty line I jump by 2 lines. Something like evil-mode after empty line ignores one line above. With moving down there is no problem at all. GNU Emacs 24.3.1…
user617768
  • 87
  • 7
1
vote
1 answer

Executing a specific macro in emacs evil

Right now I am trying to use the evil plugin in emacs so that I can have the editing capability of vim with the extensibility of emacs. Right now I'm trying to port over one of my favorite parts of my .vimrc: have space repeat whatever my last…
user1539179
  • 1,835
  • 2
  • 16
  • 28
1
vote
1 answer

emacs package install error: "autoloading failed to function define-globalized-minor-mode"

I'm trying to install evil-mode for Emacs using the built-in list-packages in Emacs-24. All is well until this: evil-commands.el:29:1:Error: Autoloading failed to define function define-globalized-minor-mode shows up. I haven't been able to find a…
Henry
  • 141
  • 9
1
vote
2 answers

Change :ls to bring up ibuffer in Emacs evil-mode

Out of the box, :ls in evil-mode invokes M-x list-buffers. What do I need to put into my .emacs to rebind this to run M-x ibufferinstead?
Yewge
  • 1,894
  • 2
  • 15
  • 15
1
vote
2 answers

function similar to other-buffer but with filtering

I'm looking for a way to include some filtering in the other-buffer method in emacs. Currently calling other-buffer pulls up the last most recent buffer, but the problem with this is that buffers that get modified by external processes keep coming…
jagguli
  • 631
  • 1
  • 7
  • 21
0
votes
1 answer

emacs (evil) binding to move selected lines over, inserting spaces

I want an emacs binding (in evil mode) to take the selection and move it over one space at a time to the right, or to the left. For example, highlight five line, hit [some-key] and all five lines slide one space to the right, and hit [shift…
justingordon
  • 12,553
  • 12
  • 72
  • 116
0
votes
1 answer

Emacs and Evil-mode. Issue with indentation when Copy and Paste a line

Thank you very much in advance for helping! I'm a happy user of Emacs and Evil-mode (vim emulation). I love it, but there is something that really annoys me. Say I have the following text: ....This is the first line ....This is the second…
RafaelGP
  • 1,749
  • 6
  • 20
  • 35