Neovim vs Visual Studio Code

Need advice about which tool to choose?Ask the StackShare community!

Neovim

609
723
+ 1
183
Visual Studio Code

173.7K
158.1K
+ 1
2.3K
Add tool

Neovim vs Visual Studio Code: What are the differences?

Neovim and Visual Studio Code are widely used code editors. Neovim is a modern fork of the Vim text editor, designed for efficient text editing and customization. Visual Studio Code (VS Code), on the other hand, is a lightweight and versatile code editor that supports multiple programming languages and provides a rich ecosystem of extensions. Here are the key differences:

  1. User Interface: Neovim has a minimalist and terminal-based interface, maintaining the core principles of Vim. It focuses on keyboard-centric editing and allows for extensive customization through configuration files. VS Code, in contrast, offers a feature-rich graphical user interface with a modern design, providing a more visual and interactive coding experience. It includes panels, sidebars, and menus for easy navigation and access to various features.

  2. Editing Features: Neovim inherits powerful editing features from Vim, such as modal editing, multiple cursors, macros, and extensive text manipulation capabilities. It emphasizes efficient editing workflows and provides a vast array of keyboard shortcuts. VS Code also offers a range of editing features, including code completion, syntax highlighting, and code navigation tools. It provides a more traditional text editing experience with modern enhancements like IntelliSense.

  3. Extensibility: Neovim offers a customizable ecosystem with plugins and configurations for tailored functionality. It supports scripting languages for plugin development. VS Code has a diverse extension marketplace, providing additional features, language support, and integration options with frameworks and libraries. Extensions in VS Code enhance functionality and allow customization of the editor's behavior.

  4. Language Support: Neovim supports a wide range of programming languages through its extensible architecture and plugins. It provides syntax highlighting, code folding, and indentation support for various languages. VS Code offers extensive language support out-of-the-box for a diverse range of programming languages. It includes features like IntelliSense, code snippets, and language-specific extensions, enabling developers to work with different languages seamlessly.

  5. Debugging and Tooling: Neovim, being primarily a text editor, has limited built-in debugging capabilities. However, it can be integrated with external tools and debuggers through plugins. VS Code, on the other hand, provides a comprehensive debugging experience with built-in support for various programming languages. It offers features like breakpoints, variable inspection, and interactive debugging for smooth troubleshooting.

In summary, Neovim is a highly customizable text editor based on Vim, emphasizing keyboard-centric editing and extensibility through plugins. It has a minimalistic interface and efficient editing features. Visual Studio Code is a versatile code editor with a modern interface, extensive language support, and a large extension ecosystem. It offers rich editing capabilities, easy extensibility, and built-in debugging. Both Neovim and Visual Studio Code cater to different preferences and workflows, allowing developers to choose the editor that suits their coding style and needs.

Advice on Neovim and Visual Studio Code
Rogério R. Alcântara
Needs advice
on
NeovimNeovim
and
VimVim

For a Visual Studio Code/Atom developer that works mostly with Node.js/TypeScript/Ruby/Go and wants to get rid of graphic-text-editors-IDE-like at once, which one is worthy of investing time to pick up?

I'm a total n00b on the subject, but I've read good things about Neovim's Lua support, and I wonder what would be the VIM response/approach for it?

See more
Replies (6)
Recommends
on
NeovimNeovimVimVim

Neovim can basically do everything Vim can with one major advantage - the number of contributors to the code base is just so much wider (Vim is ~100% maintained only by B. Mooleanaar). Whatever you learn for Neovim you can also apply to Vim and vice versa. And of course there is the never ending Vim vs Emacs controversy - but better not get into that war.

See more
Jeffrey Johnson
Recommends
at

Actually, the biggest advantage with Neovim (as a VS user) is that you can embed REAL Neovim as the editor UI, rather than using a "Vim emulation", you're using actual NVIM, embedded in VS!

"asvetliakov.vscode-neovim" is the extension you are looking for:

  1. Install the 'vscode-neovim; extension (https://marketplace.visualstudio.com/items?itemName=asvetliakov.vscode-neovim)
  2. Install Neovim version 0.5+ nightly
  3. Start winning.

(You can install neovim-nightly separately for just vscode, I usually build and install it to /opt/nvim - it's enough enough to do - let me know if you need help).

Works wonderfully. It might not work out of the box if you have some 100K epic nvim initialization file, but the plugin documents a workaround for having an embedding/VS specific configuration.

See more
Kudos Beluga
Recommends
on
NeovimNeovim

I don't actually notice much of a difference between the two, as the end result looks identical. If you use Vim and are switch to Neovim it's an extremely easy 1-minute process. I switched from Vim to Neovim. I can't say I found much of a difference, but the key points where Neovim could be better than just vim is that first, there are much more people maintaining Neovim compared to vim, which means fewer bugs and a modern code base. It also has a smaller code base which might result in a small speed improvement. Another thing is that it's basically just a fork of vim, so what harm can it do? ;)

See more
Recommends
on
VimVim

I recommend using vim 8+ it has native plugin support if you need language supports you can install the package vim-nox which will come with support for python, lua, ruby, etc

See more
Albert Kim
Recommends

It truly depends on whether you want to completely avoid GUI and stick to TUI and command lines. If you want to edit all of your codes within a terminal, then Vim or neovim would be the choice. Emacs can be run in a terminal, but the functionality is limited. Most people use Emacs using GUI and emacs-client not to use too much memory.

My general preference is to use an independent text editor, which is better if it is highly customizable and programmable. So, I have used Emacs for several years. For beginners, I guess Emacs requires significant time to learn to fully enjoy its wonderful functionalities. In that sense, using atom would be a recommendable option.

Regardless of all the situations, learning basic vim in the terminal will help you in any case. In summary, I recommend 1. vim as a default editor in the terminal 2. atom if you are a beginner, or 3. Emacs if you have a long-term plan to master a programmable editor

Other editors like sublime text, VS code, and so forth are also worth learning and using. But, no matter which editor you choose, stick to one or two until you become an advanced user. Being able to use most text editors at an intermediate level is waste of time.

I hope it helps.

See more
Rogério R. Alcântara
Recommends
on
NeovimNeovim

The hints on the codebase's contributors and the VSCode integration helped me make up my mind.

I really appreciate all comments, though.

Thanks a bunch!

See more
Decisions about Neovim and Visual Studio Code
Samriddhi Sinha
Machine Learning Engineer at Chefling · | 6 upvotes · 975.3K views

Lightweight and versatile. Huge library of extensions that enable you to integrate a host of services to your development environment. VS Code's biggest strength is its library of extensions which enables it to directly compete with every single major IDE for almost all major programming languages.

See more
Kamaleshwar BN
Senior Software Engineer at Pulley · | 12 upvotes · 1.3M views

Visual Studio Code became famous over the past 3+ years I believe. The clean UI, easy to use UX and the plethora of integrations made it a very easy decision for us. Our gripe with Sublime was probably only the UX side. VSCode has not failed us till now, and still is able to support our development env without any significant effort.

Goland being paid, as well as built only for Go seemed like a significant limitation to not consider it.

See more
Simon Ibssa
Student at California Polytechnic State University, San Luis Obispo · | 2 upvotes · 1.2M views

I decided to choose VSCode over Sublime text for my Systems Programming class in C. What I love about VSCode is its awesome ability to add extensions. Intellisense is a beautiful debugger, and Remote SSH allows me to login and make real-time changes in VSCode to files on my university server. This is an awesome alternative to going back and forth on pushing/pulling code and logging into servers in the terminal. Great choice for anyone interested in C programming!

See more
Get Advice from developers at your company using StackShare Enterprise. Sign up for StackShare Enterprise.
Learn More
Pros of Neovim
Pros of Visual Studio Code
  • 31
    Modern and more powerful Vim
  • 27
    Fast
  • 22
    Asynchronous plugins
  • 20
    Stable
  • 18
    Edit text fast
  • 15
    Great community
  • 15
    Vim plugins work out of the box
  • 9
    Embedable
  • 8
    Unix-like
  • 8
    Built-in terminal support
  • 4
    Plugins in any language
  • 2
    External GUIs
  • 2
    Great Colorschemes
  • 2
    Extremely customizable
  • 340
    Powerful multilanguage IDE
  • 308
    Fast
  • 193
    Front-end develop out of the box
  • 158
    Support TypeScript IntelliSense
  • 142
    Very basic but free
  • 126
    Git integration
  • 106
    Intellisense
  • 78
    Faster than Atom
  • 53
    Better ui, easy plugins, and nice git integration
  • 45
    Great Refactoring Tools
  • 44
    Good Plugins
  • 42
    Terminal
  • 38
    Superb markdown support
  • 36
    Open Source
  • 34
    Extensions
  • 26
    Large & up-to-date extension community
  • 26
    Awesome UI
  • 24
    Powerful and fast
  • 22
    Portable
  • 18
    Best editor
  • 18
    Best code editor
  • 17
    Easy to get started with
  • 15
    Lots of extensions
  • 15
    Built on Electron
  • 15
    Crossplatform
  • 15
    Good for begginers
  • 14
    Extensions for everything
  • 14
    Open, cross-platform, fast, monthly updates
  • 14
    All Languages Support
  • 13
    Easy to use and learn
  • 12
    Extensible
  • 12
    "fast, stable & easy to use"
  • 11
    Totally customizable
  • 11
    Git out of the box
  • 11
    Faster edit for slow computer
  • 11
    Ui design is great
  • 11
    Useful for begginer
  • 10
    Great community
  • 10
    SSH support
  • 10
    Fast Startup
  • 9
    It has terminal and there are lots of shortcuts in it
  • 9
    Powerful Debugger
  • 9
    Great language support
  • 9
    Works With Almost EveryThing You Need
  • 8
    Python extension is fast
  • 8
    Can compile and run .py files
  • 7
    Great document formater
  • 7
    Features rich
  • 6
    He is not Michael
  • 6
    Awesome multi cursor support
  • 6
    Extension Echosystem
  • 6
    She is not Rachel
  • 5
    Language server client
  • 5
    Easy azure
  • 5
    SFTP Workspace
  • 5
    VSCode.pro Course makes it easy to learn
  • 5
    Very proffesional
  • 4
    Supports lots of operating systems
  • 4
    Has better support and more extentions for debugging
  • 4
    Excellent as git difftool and mergetool
  • 4
    Virtualenv integration
  • 3
    Has more than enough languages for any developer
  • 3
    Better autocompletes than Atom
  • 3
    Emmet preinstalled
  • 3
    'batteries included'
  • 3
    More tools to integrate with vs
  • 2
    VS Code Server: Browser version of VS Code
  • 2
    Big extension marketplace
  • 2
    Customizable
  • 2
    Microsoft
  • 2
    Light
  • 2
    Fast and ruby is built right in
  • 2
    CMake support with autocomplete

Sign up to add or upvote prosMake informed product decisions

Cons of Neovim
Cons of Visual Studio Code
    Be the first to leave a con
    • 46
      Slow startup
    • 29
      Resource hog at times
    • 20
      Poor refactoring
    • 13
      Poor UI Designer
    • 11
      Weak Ui design tools
    • 10
      Poor autocomplete
    • 8
      Super Slow
    • 8
      Huge cpu usage with few installed extension
    • 8
      Microsoft sends telemetry data
    • 7
      Poor in PHP
    • 6
      It's MicroSoft
    • 3
      Poor in Python
    • 3
      No Built in Browser Preview
    • 3
      No color Intergrator
    • 3
      Very basic for java development and buggy at times
    • 3
      No built in live Preview
    • 3
      Electron
    • 2
      Bad Plugin Architecture
    • 2
      Powered by Electron
    • 1
      Terminal does not identify path vars sometimes
    • 1
      Slow C++ Language Server

    Sign up to add or upvote consMake informed product decisions

    What is Neovim?

    Neovim is a project that seeks to aggressively refactor Vim in order to: simplify maintenance and encourage contributions, split the work between multiple developers, enable the implementation of new/modern user interfaces without any modifications to the core source, and improve extensibility with a new plugin architecture.

    What is Visual Studio Code?

    Build and debug modern web and cloud applications. Code is free and available on your favorite platform - Linux, Mac OSX, and Windows.

    Need advice about which tool to choose?Ask the StackShare community!

    What companies use Neovim?
    What companies use Visual Studio Code?
    See which teams inside your own company are using Neovim or Visual Studio Code.
    Sign up for StackShare EnterpriseLearn More

    Sign up to get full access to all the companiesMake informed product decisions

    What tools integrate with Neovim?
    What tools integrate with Visual Studio Code?

    Sign up to get full access to all the tool integrationsMake informed product decisions

    What are some alternatives to Neovim and Visual Studio Code?
    Vim
    Vim is an advanced text editor that seeks to provide the power of the de-facto Unix editor 'Vi', with a more complete feature set. Vim is a highly configurable text editor built to enable efficient text editing. It is an improved version of the vi editor distributed with most UNIX systems. Vim is distributed free as charityware.
    Atom
    At GitHub, we're building the text editor we've always wanted. A tool you can customize to do anything, but also use productively on the first day without ever touching a config file. Atom is modern, approachable, and hackable to the core. We can't wait to see what you build with it.
    Kakoune
    Kakoune is a code editor heavily inspired by Vim, as such most of its commands are similar to vi’s ones. Kakoune can operate in two modes, normal and insertion. In insertion mode, keys are directly inserted into the current buffer. In normal mode, keys are used to manipulate the current selection and to enter insertion mode.
    Emacs
    GNU Emacs is an extensible, customizable text editor—and more. At its core is an interpreter for Emacs Lisp, a dialect of the Lisp programming language with extensions to support text editing.
    SpaceVim
    SpaceVim is a Modular configuration, a bundle of custom settings and plugins, for Vim. It got inspired by spacemacs.
    See all alternatives