migration

Migrating from Vim to Neovim

Licence and terms

Vim
Vim, Open source
Neovim
Other, Open source
Fit
Drop-in Reads most Vim configuration and plugins, adds Lua and a built-in LSP client.

Compatibility

Neovim’s own reference says editor and Vimscript features are mostly identical to Vim, with the exception of Vim9script. An existing Vim setup can be loaded from Neovim’s config file, so you do not have to rewrite it before you start. Where the two differ, the vim-differences page is the complete list.

Before you switch

The official guide is a short sequence:

  1. Create your init.vim from inside Neovim with :exe 'edit' stdpath('config') .. '/init.vim', then :write ++p.

  2. Put these lines in it, so Neovim reads your Vim runtime directories and your vimrc:

    set runtimepath^=~/.vim runtimepath+=~/.vim/after
    let &packpath = &runtimepath
    source ~/.vimrc
    
  3. Run :restart. Your existing Vim config is loaded.

Some features need extra software; the guide points at provider-python and provider-clipboard for what that is.

Pitfalls

Official guide

Neovim's migration guide ↗

Reviewed on 2026-09-29.

Sources

Other alternatives to Vim →