-2

When I use Neovim, I need to (know I can) understand it completely to make myself comfortable.

I switched from Vim so I searched for the help manual. Just like Vim, I get the user manual and reference manual. So I know I can understand Neovim-as-Vim very well.

But how can I understand Neovim-as-Neo? I need to know what Neovim changed from Vim and why it did and how. Then I think I can understand Neovim very well. After that I can modify it for myself and I can feel comfortable.

How can I do that and where can I start?

3
  • I’m quite sure the differences are documented in :help
    – D. Ben Knoble
    Commented Feb 22, 2023 at 16:03
  • 1
    :h vim-differences
    – 3N4N
    Commented Feb 23, 2023 at 6:37
  • if you wish to make an apple pie from scratch, you must first invent the universe. Commented Aug 13 at 15:32

1 Answer 1

0

Neovim is a fork of Vim. It is very similar to Vim and brings also some changes. Most of the commands and actions are the same with very small variations.

If you know Vim you know Neovim and are ready to switch.

Neovim and Vim have made different choices about the next 'VimScript' version:

  • Neovim has selected the standard Lua language
  • Vim has introduced VimScript9

It is now possible to configure (optionally) Neovim using Lua scripts instead of Vim scripts.

There are a number of plugins that are written in Lua and are only available to Neovim.

If you switch to Neovim you can start playing with these Neovim plugins. Here are some examples:

You could be interested to the following questions about the Vim to Neovim differences and the transition from Vim to Neovim:

If you decide to migrate your configuration from .vimrc to init.lua (what I didn't do) here is some document that could help you: Getting started using Lua in Neovim

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.