Skip to content

Instantly share code, notes, and snippets.

@paalss
Last active July 20, 2023 20:09
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save paalss/0a49981d528a4d05480d37e0497c5086 to your computer and use it in GitHub Desktop.
Save paalss/0a49981d528a4d05480d37e0497c5086 to your computer and use it in GitHub Desktop.

Nyere, mer oppdatert versjon lagret i din egen config

Neovim

sudo apt install neovim

Dokumentasjon

Neovim Fireship video

Start

nvim

Tutorial

:Tutor

Hjelp

:help nvim

Avinstallere

sudo apt remove neovim

Skaffe versjon 0.9.0

Installasjonen over gir bare 0.4.3, desverre. Versjon 0.9.0 er ikke tilgjengelig med den metoden. For å installere nyere versjon på linux kan du kjøre tarball metoden.

Last ned tarball, se https://github.com/neovim/neovim/releases/tag/v0.9.0

tar xzvf nvim-linux64.tar.gz

Flytt til ~/.local/bin/

Extract...

Følg denne tutorialen, den er steinbra 👍 https://www.youtube.com/watch?v=2wapxsfzLho&list=LL&index=5

Åpne Neovim

nvim

Ta backup av nvim config og clean cache

mv ~/.config/nvim ~/.config/nvim.bak
mv ~/.local/share/nvim ~/.local/share/nvim.bak
mv ~/.local/state/nvim ~/.local/state/nvim.bak
mv ~/.cache/nvim ~/.cache/nvim.bak

Install a nerd font

Ubuntu nerd font funker for en eller annen grunn ikke. Du får installert den, men den dukker ikke opp i WSL/Ubuntu on windows-menyen. Men du kan installere denne: Meslo eller 3270NerdFont for eksempel

Congratulations!


Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment