by grabcocque · 10y ago · 0 comments
For those that haven't used it, it's a carefully designed and polished Emacs kit based around Evil mode (the vi emulation layer).
Pretty simple and doesn't rely on heresy such as evil mode.
But one thing that's annoying the hell out of me is window/buffer management. It really confuses me when plugins 'eat' a buffer to display something.
Spacemacs is, as the tagline says, FOCUSED ON EVIL.
As a vim user, I'm also used to my editor starting up instantly. Spacemacs takes so long to load that it's laughable. And since GNU emacs is single-threaded, the whole UI is completely locked while it processes the massive amount of configuration needed to make spacemacs what it is. The only thing "better" about that is that it gives you an opportunity to take a coffee break. I'm reminded of the "code's compiling" XKCD: boss says, "hey! quit horsing around!", worker says "spacemacs is loading!" And this is with 8GB of RAM, 8 processor cores clocked at 3.2 GHz, and filesystem on an SSD drive.
And then you run into problems with many packages from MELPA. If some third-party package introduces its own keybindings, then you still wind up with odd emacs-style keybindings here and there, rather than Vim-style ones. Furthermore, Vim's leader key is backslash, not space, regardless of how you like to configure it.
So, what's "better" about it? The fact that it's got a "pretty" powerline statusline by default? The fact that it uses some dark colorscheme by default? That's not enough for me to abandon vim.
Emacs is typically started once, and then you open files in the same instance. With vanilla emacs you can use `emacs --daemon` to start it as a server, and then use `emacsclient` to open files. That way it should open pretty much instantly. I'm not sure what Spacemacs calls those.
If you're an adherent of the holy church thinking of turning evil, then it will obviously take some relearning, but it's incredibly discoverable, making exensive use of hierarchical mnemonics and helm after each keypress to know what commands are available to you.
e.g. space-f-s is file->save, space-f-f is file->find, space-f-r is file->recent etc.
It takes some getting used to, but I could never go back :)
It does support a non-evil mode, and asks which way you want the first time you run it.
Since there is no good in VIM (besides being pre-installed on every *nix platform), you know what that equation leads to... just emacs.
edit typo
Edit: fixed it. It turns out that was an ~/.emacs file present which prevents Spacemacs from starting. If you did the cloning and $ emacs results in your standard GNU emacs, look for the file ~/.emacs and remove it.
I also believe Neovim (and possibly normal vim, I'm not sure), automatically does `:set paste` and `:set nopaste` when you use the terminal paste.