Hacker News new | ask | show | jobs
by MichaelGG 3573 days ago
I tried that. Evil seems to mess up on things now and then. Clicking the mouse acts as a command or something, wiping out ".". And macros, now and then, act up. As in, they won't record properly or something. On large Rust files, things grind to a halt if I run a macro on every line, whereas in Vim proper, things always stay speedy.

In concept though, it is the best solution. Maybe I just have a broken config or something.

2 comments

> And macros, now and then, act up. As in, they won't record properly or something.

What you may be experiencing is an erroneous action stopping the macro. For example, if you press h at the beginning of the line, macro recording would be stopped. To make this behaviour less annoying add: (setq evil-kbd-macro-suppress-motion-error t) .

Sublime-like multi-cursors in emacs are sometimes more useful than macros. I use and like https://github.com/gabesoft/evil-mc .

Regarding other points:

  - yes, for huuuge files I still use vim
  - Occasional bugs due happen, as in every editor running custom plugins. In emacs debugging and editing plugins code is natural. You can use emacs to debug itself and reload parts of code without restarting.
Hot damn that was probably it. Thanks!
> On large Rust files, things grind to a halt if I run a macro on every line

I actually started testing Spacemacs ad Vim was getting slow when highliting big .rs files.