Questions tagged [evil]

Evil is an Emacs package which brings features of VI/VIM into Emacs

Evil is an extensible vi layer for Emacs. It provides Vim features like Visual selection and text objects, and is the successor to Vimpulse and vim-mode.

The Emacs wiki page for it has a lot of information about it as well.

11 questions
5
votes
2 answers

evil-mode '>' evil-shift-left loses selection

Is there any reason that evil-mode evil-shift-left loses the selection? I.e., I'd like the ability to hit the '>' and '<' multiple times on the selection to shift text left and right. Here's the implementation below. Anyway to add an advice to…
justingordon
  • 1,703
4
votes
1 answer

Emacs evil-mode yank and paste entire lines

In Vim I can do this: Example text (cursor is on the semicolon): void test(){ corner[0]=23; } In Vim, the command ddP... results in the following change (cursor ends up on the first c): void test(){ corner[0]=23; corner[0]=23; …
1
vote
0 answers

yasnippet and evil mode : how to switch to normal mode without exiting the snippet environment

The problem is when I am in a snippet expansion, I hit escape to switch to normal mode, and the snippet is escaped. How can I make it to behave like this: one escape only switch to evil normal mode, two consecutive escape exit the snippet…
1
vote
1 answer

how to set a kill string length criterion for storing in kill ring

Is there a way to tell emacs ignore kill that are less than 4 characters long? It is quite annoying to have a lot of single character kills in evil mode. Thank you!
1
vote
1 answer

How to ignore white spaces in emacs evil surround

I learned from here http://kana.github.io/config/vim/surround.html that yss should operates on the current line, ignoring leading whitespace. But it always includes the leading whitespace on my machine, which looks bad. I am using emacs 24.3. Any…
1
vote
1 answer

Windows 10 move .bat shortcut to task bar

I want to be able to launch a .bat file I've written from the task bar. I've successfully created the shortcut and have located it in Explorer. However, Windows doesn't do anything when I drag the shortcut to the task bar, and it doesn't display…
1
vote
0 answers

make emacs (evil) auto-save on buffer change

I'm using https://github.com/907th/vim-auto-save on vim. Giving emacs a try. Is there a way I can replicate vim-auto-save functionality in emacs? I got (auto-save-visited-mode) enabled but it's only saving at some intervals. I want saves whenever I…
Thamoo
  • 71
  • 1
  • 1
  • 3
1
vote
0 answers

How to shift indentation tho right and left in Emacs Evil (Spacemacs) when nothing is selected?

When I am in visual mode, parinfer-shift-right and parinfer-shift-left work fine. But in normal mode these commands have no effect. How to make these commands work in normal mode, when nothing is selected?
Witek
  • 369
0
votes
0 answers

Emacs evil-mode paste encoding

I'm using evil-mode with Emacs. When pasting text with the "+p command (paste from + register) i see sequences of \342\200\231 in text instead of the apostrophe (') character. The clipboard-yank command works fine. This started happening after…
Juliusz
  • 217
0
votes
1 answer

Emacs: How do I use flymake-cursor in Evil's normal mode?

I'm a Vim fan trying out Emacs with the Evil mode. After configuring FlyMake to use the flake8 command, I have nearly the same editor configuration in Emacs that I'm used to in Vim. The only problem out-of-the-box is I can't see descriptions of the…
0
votes
0 answers

Mic audio fine in everything but Webex

I have my default audio settings on Windows 10. This means that the Communications tab in the Sound panel still has the "Reduce the volume of other sounds by 80%", I have mic boost at 0%, I have mic vol at 100%. Calls on Slack, Discord, Skype, Teams…
Frank
  • 101
  • 1