News for hackers. Stuff that matters.
Re:Making Emacs Popular Again by danieldk on Friday May 08, 2020 @12:59AM (#23111551)
I am not a passionate Emacs user and I strongly dislike the weird bugs that rear their heads sometimes. I was always a vim user, but switched to Emacs because it has better support for completion, etc. while having nearly perfect vi emulation. I would even go as far as saying that Evil is vi implemented in Emacs Lisp.

I try VS Code every now and then, but I always stop because of two reasons: incomplete vi(m) emulation and the latency feels really bad compared to Emacs/vi.

Would like to switch otherwise, but non-leaky vi support and good latency are essentials.

Edit, forgot to add: something as good and keyboard-driven as magit.

Re:Making Emacs Popular Again by thayne on Friday May 08, 2020 @02:06AM (#23111867)
> but switched to Emacs because it has better support for completion, etc. while having nearly perfect vi emulation

I switched to emacs for similar reasons (plus the fact that it supported embedded repls that actually worked). But eventually switched to neovim, because it could do things like completion and repls. vim 8 can now as well.

> I try VS Code every now and then, but I always stop because of two reasons: incomplete vi(m) emulation and the latency feels really bad compared to Emacs/vi.

> Would like to switch otherwise, but non-leaky vi support and good latency are essentials.

Same. Also start-up time. I love typing `v <filename>` in a terminal and instantly getting an editor. Lower memory usage is also nice.

Re:Making Emacs Popular Again by dmarchand90 on Friday May 08, 2020 @02:07AM (#23111869)
How long did it take you to switch? I tried spacemacs for a few months but got tired after I was always accidentally breaking things
Re:Making Emacs Popular Again by danieldk on Friday May 08, 2020 @03:39AM (#23112338)
Not too long. I also began using Emacs with spacemacs, but it was buggy and slow. Then I just started with a completely pristine Emacs configuration and just added through use-package:

- evil for vi emulation

- general/which-key so I could define spacemacs-like bindings that start with SPC.

- ivy for quick search of buffers, files, etc

Then I added things on a by-need basis. I would say that the most important additions were magit for Git, projectile for quickly switching between project files, and some Rust packages.

This is now my emacs configuration:

https://github.com/danieldk/nix-home/blob/master/cfg/emacs.n...

Rust configuration:

https://github.com/danieldk/nix-home/blob/master/cfg/rust.ni...

(Sorry for posting Nix files, but it's pretty close to what it would look like in a regular init.el.)

Re:Making Emacs Popular Again by chrischen on Friday May 08, 2020 @03:45AM (#23112380)
How does emacs have better support for completion than vim?
Re:Making Emacs Popular Again by m463 on Friday May 08, 2020 @05:57AM (#23113057)
Re:Making Emacs Popular Again by chrischen on Saturday May 09, 2020 @01:12AM (#23122485)
Is this language specific? For typescript at least Vim can use the same completion server as VS code (and so can emacs for that matter).