Neovim

From wikinotes
Revision as of 02:52, 26 December 2021 by Will (talk | contribs) (→‎GUI)

Neovim is a rewrite of vim with some new/alternative features.

Documentation

:help https://neovim.io/doc/user/

Locations

~/.config/nvim/init.vim nvim's vimrc
~/.config/nvim/ginit.vim GUI nvim's vimrc

Notes

neovim install
neovim configuration
neovim features
neovim guis

Features

Extensions

neovim-remote

Start a neovim-server, neovim connects to this, adding files to the same session.

Common Issues

strange global variable behaviour

neovim saves global variables in ~/.local/share/nvim/shada/main.shada.
If you encountering wonky results when changing your vimrc, delete this file and try again.

neovim crashes terminal

Your terminal probably needs to be recompiled.

scrolling panes is broken in xterm

You may be using xterm, not xterm-256color.
Try export TERM= or export TERM=xterm.