User Tools

Site Tools


neovim

This is an old revision of the document!


Table of Contents

neovim

My notes on nvim.

Installation

The regular apt-get repo is too out-of-date. When 0.9.5 was stable, Ubuntu 20.04 was providing 0.3 or 0.4.

I could use snap on my work (Ubuntu) and personal frame.work laptop computers to get 0.9.5

sudo snap install nvim --classic
ln -s /snap/bin/nvim $HOME/.local/bin/nvim

But in WSL2, although I had snap, it didn't work, so I downloaded the tarball. Then I extracted it into $HOME/.local/bin/.

cd ~/.local/bin/
tar -xvf nvim-linux64.tar.gz
ln -s nvim-linux64/bin/nvim nvim

Copilot

You need Node for the Copilot plugin (Getting Started instructions). It also works with Vim 9.0.0.0185+.

  1. Install Node.
  2. Get nvim (see above)
  3. Install plugin (used –filter=blob:none)
    1. git clone --filter=blob:none https://github.com/github/copilot.vim.git ~/.config/nvim/pack/github/start/copilot.vim
  4. read docs.
neovim.1711393696.txt.gz · Last modified: 2024/03/25 12:08 by dblume