migração

Migrar de Vim para Neovim

Licença e termos

Vim
Vim, Código aberto
Neovim
Other, Código aberto
Tipo de substituição
Drop-in Reads most Vim configuration and plugins, adds Lua and a built-in LSP client.

Esta página está escrita em inglês.

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

Guia oficial

Guia de migração de Neovim ↗

Revisado em 2026-09-29.

Fontes

Outras alternativas a Vim →