News for hackers. Stuff that matters.
Re:Emacs 27.2 by NyxWulf on Thursday March 25, 2021 @11:33AM (#26581517)
spacemacs has a very complete vim layer. By far it's the most complete implementation outside of actual vim I've seen.
Re:Emacs 27.2 by dfinninger on Thursday March 25, 2021 @11:47AM (#26581720)
Spacemacs uses “Evil mode”[1], which is available just as a regular (MELPA) package. I started with Vim and so I’ve always used evil. “Vanilla” emacs, spacemacs, now doom.

[1] https://github.com/emacs-evil/evil

Re:Emacs 27.2 by iterati on Thursday March 25, 2021 @12:04PM (#26581953)
I'm curious if you've already used evil with vanilla why you'd migrate to spacemacs or doom. I've never found either to add much that a custom config can't get to easily and with more control. Maybe that's changed in the past half-decade or so since I last tried Spacemacs, though.
Re:Emacs 27.2 by vvillena on Thursday March 25, 2021 @12:28PM (#26582250)
The vim bindings are only one part of Spacemacs. The other (and I'd say most important) part is the SPC menu that exposes hundreds of keybindings in a discoverable, unobtrusive, and interactive interface.
Re:Emacs 27.2 by Klwohu on Thursday March 25, 2021 @03:10PM (#26584144)
Isn't that also just an elpa / melpa package though?
Re:Emacs 27.2 by NoThisIsMe on Thursday March 25, 2021 @11:48PM (#26588567)
The keybindings are bound with evil and displayed with which-key, but the spacemacs special sauce is the keybindings themselves. There are probably thousands of them across all the optional layers. They're crowd-sourced essentially. So you don't have to set them up manually for each language/tool you work with, you just add the layer and get sensible defaults out of the box.
Re:Emacs 27.2 by vvillena on Thursday March 25, 2021 @05:41PM (#26585773)
I guess so? And if the aim is to make something completely custom, that's fine. But the Spacemacs keybindings are very well thought out, the configuration is just as important as the feature itself.
Re:Emacs 27.2 by monsieurbanana on Thursday March 25, 2021 @11:12PM (#26588403)
I have a somewhat lengthy vanilla config, and I can tell you why I'm thinking about trying out Doom:

At work, I had to make some simple modifications in a go project. I've never done go before, so I had to google how to add support for it on emacs. There's always more than one choice, which one is the best maintained package? Is there an optional but ubiquitous plugin that will make it more enjoyable?

With Doom, you just add the go layer and you're good to go. I'm fine spending time setting up, i.e., a clojure config, since I use it all the time. It's well-spent effort. Not as much for a language I seldom have to use.

Re:Emacs 27.2 by acoard on Thursday March 25, 2021 @02:31PM (#26583695)
Spacemacs is indeed great, I used it myself recently. But I will say, it's no longer really actively maintained. The community has migrated over to ~~Spacemacs~ Dooom Emacs, which is very similar (still uses space as leader key and vim bindings everywhere). In my experience, Doom Emacs runs a lot faster too.

https://github.com/hlissner/doom-emacs

edit: Changeed Spacemacs to Doom Emacs, whoops.

Re:Emacs 27.2 by NoThisIsMe on Friday March 26, 2021 @12:16AM (#26588689)
Its true that many have moved on to Doom, but Spacemacs is absolutely still maintained.
Re:Emacs 27.2 by comfydragon on Thursday March 25, 2021 @02:48PM (#26583884)
> The community has migrated over to Spacemacs

I'm guessing you meant to say Doom Emacs there?

Re:Emacs 27.2 by acoard on Thursday March 25, 2021 @04:16PM (#26584847)
I did! Thank you for the correction. Editted.
Re:Emacs 27.2 by Keyframe on Thursday March 25, 2021 @01:18PM (#26582842)
I used emacs quite a lot, back in the day, and have switched to vim for now.. well, too long. Thing with vim is that I've never seen anyone using stock vim and keys, there's this whole layer of plugins and custom key bindings that make it so effective for any particular user. Would that translate to spacemacs at all? I've only glanced at it, but not sure if it supports Vim plug for example.
Re:Emacs 27.2 by jeremyjh on Thursday March 25, 2021 @01:30PM (#26583020)
Stock Spacemacs is like a fully-tricked out Vim configuration, made by and for "plugin" junkies. Its leader-based keybindings are very well thought-out and discoverable since you get a small menu for the level you are at. For example <space> g gets you to the git submenu, if you forget that <space> g s gets you magit-status it will remind you there.
Re:Emacs 27.2 by tharne on Thursday March 25, 2021 @01:50PM (#26583268)
> Stock Spacemacs is like a fully-tricked out Vim configuration, made by and for "plugin" junkies.

That is a fantastic description of Spacemacs

Re:Emacs 27.2 by j4yav on Thursday March 25, 2021 @02:23PM (#26583611)
Sincere question: if I already have a vim setup with all the plugins I like, and I switch to evil mode so everything more or less works as I had it, what does emacs open the door to that I couldn’t do before? Org mode I imagine is one piece. Is there anything else I should look at if I try it?
Re:Emacs 27.2 by mapolone on Thursday March 25, 2021 @02:51PM (#26583909)
There are a few IMHO: magit [1] is a nice piece for Git. And there's vterm, if you wish to use a (usable) term or tmux/screen without leaving the editor, tramp mode [2] for remote files and last but not least ergoemacs [3] if you prefer the CUA style for generic commands (and reduce RSI). Oh, and forgot to mention helm [4] too...

[1] https://magit.vc

[2] https://www.emacswiki.org/emacs/TrampMode

[3] https://ergoemacs.github.io/

[4] https://github.com/emacs-helm/helm

Re:Emacs 27.2 by j4yav on Friday March 26, 2021 @06:30AM (#26590492)
I'm all set up with spacemacs and trying these out, thanks so much for the tips! So far so good.