When comparing Neovim vs Spacemacs with Python layer, the Slant community recommends Spacemacs with Python layer for most people. In the question“What are the best Python IDEs or editors?” Spacemacs with Python layer is ranked 6th while Neovim is ranked 9th. The most important reason people chose Spacemacs with Python layer is:
At the heart of Spacemacs, the configuration layers group packages configuration into semantic units that can be toggled on and off. The architecture is simple but powerful allowing to easily manage configuration dependencies between hundreds of packages. Layers for other languages can be found [here](https://github.com/syl20bnr/spacemacs/tree/master/layers/+lang).
Specs
Ranked in these QuestionsQuestion Ranking
Pros
Pro Still Vim but with upgraded features and some issues fixed
NeoVim was a complete rewrite of Vim, with new features added and underlying issues resolved thanks to the Vim code base. The keybindings and configuration are the same as Vim, so the switch can be pretty simple.
Pro Better integration with external tools
The core text editor is "headless", meaning it's detached from the user-interface so other programs can hook into it. This enables better integration with IDEs and browsers, where "Vim mode" has typically been a poor substitute because it was a partial rewrite or a partial port at best. One of the advantages of Vim has always been ubiquity and Neovim makes it even more ubiquitous.
Pro Powerful plugin model
Vim plugins have always been useful, but tied to specific languages. Neovim's architecture provides better separation between plugins and the core product, so that plugins are completely flexible and can be written in any language.
Pro Built-in terminal emulator
This avoids the user having to make any installations.
Pro UI Agnostic
The core functionality is handled apart from the UI, meaning that Neovim can be embedded into any other GUI system, such as Atom.
Pro Async plugin execution
Pro Active development community
Pro Opens a 3Gig Text File in a few seconds
Not many editors can open such a large text file so quickly.
Pro Fast and light on memory usage
New neovim editor instance starts instantly and you can have multiple editors open at the same time, because id does not require a lot of memory to run.
Pro Easier to pick-up than ever
Don't believe it? Try typing vimtutor in your command line right now.
Pro Work in TUI (Text User Interface)
Neovim can work on terminal, on a remote server over ssh.
Pro Modern code base
As a refactor over Vim, Neovim has greatly improved its code base. For example, some functionality is handled by libuv, the same code base that powers Node.js.
Pro Comes with some good configurations out of the box
Some typical configurations most of VIM users make are default in Neovim.
Pro Even more powerful since 2019, because of additions such as vim-coc, TabNine, fzf, skim
Vim gets stronger every time command-line tools get stronger. This isn't even it's the final form.
Pro Config file is where it should be
I don't like having dotfiles or dotdirs in my homefolder unless they're needed. Configs should be in the .config
dir in their respective folder.
Pro Built-in file-explorer and ability to make splits and edit multiple things simutaneously.
This makes editing multiple files at once, moving code around so easy.
Pro Treesitter and LSP
Pro Terminal mode is very convenient for testing code in a split window
Pro Support for different languages with layers
At the heart of Spacemacs, the configuration layers group packages configuration into semantic units that can be toggled on and off. The architecture is simple but powerful allowing to easily manage configuration dependencies between hundreds of packages.
Layers for other languages can be found here.
Pro Easy to remember keybindings
Key bindings are organized in mnemonic namespaces. For instance buffer actions are under b
, file actions under f
, project actions under p
, search actions under s
etc...
Key bindings are consistent across the whole distribution thanks to a set of conventions.
Pro Great support from the community
The community is very active and there is a welcoming gitter chat to ask for questions.
Pro Free/Libre/Open
Pro It includes org-mode
Pro Easy to manage configuration dependencies
At the heart of Spacemacs, the configuration layers group packages configuration into semantic units that can be toggled on and off. The architecture is simple but powerful allowing to easily manage configuration dependencies between hundreds of packages.
Pro Gradual learning curve
Evil package is a first class citizen, Spacemacs embraces it from day one. Evil package allows Vim users to be productive very quickly while still allowing regular Emacs users to use Spacemacs.
Pro Above average documentation quality
Documentation is mandatory for each new configuration layer and can be accessed directly within the editor in Org format.
Cons
Con Poor feature discoverability
Con High effort to customize
A lot of time and effort is put in to make it specific to your needs.
Con Requires Brain Mode Switching
When editing in vim, you have you use the vim keys; when editing in every other window on your PC, or in Word or Excel or other application, you need to use the standard system key combinations. Learning the vim combinations can actually make you SLOWER at everything else.
Con Consume brain energy for editing that should be used for logic
Text editing in vim can be great once you've learned it, but it requires thinking about combination of commands. In other editors, you don't have to think about how to delete this part of code. You just think about how to implement a feature, what is a good design for this code. Even after you get used to using vim, it still requires your brain for editing.
Con Ambiguity in extensive documentation
Con Limited cross platform support
Neovim is not available for many legacy platforms
Con Split the VIM community
Moolenaar to be blamed for. If he opened up the development for vim to other bright minds, no fork would have happened. As it is mostly compatible with vim, it is not such a big issue.
Con Poor support for external tooling
Con Configured in Emacs Lisp
Most developers don't know Lisp all that well, and of those, the subset that knows elisp is even smaller. Thankfully, it's not that difficult to get a basic Spacemacs configuration together without knowing elisp (thanks to Spacemacs's spectacular documentation), but if you need to alter, fix, or customize a plugin/layer in non-trivial ways, this can become a major hindrance.
Con Not an IDE
For users that aren't familiar with Vim or Emacs, Spacemacs will have a steep learning curve since everything is based on keyboard shortcuts and IDE-based users (or even users coming from editors like SublimeText or Atom) may have trouble finding things and adjusting to a new editing style.
Con Slow startup time
Although configuration is heavily lazy loaded, the starting time of Spacemacs is usually between two and five seconds. Emacs can be run as a daemon though which reduces the clients startup time to a few milliseconds.