nvim

相關筆記

相關微調

  • GitHub / Neovim / Wiki / Installing Neovim / Ubuntu

PPA

unstable

sudo add-apt-repository ppa:neovim-ppa/unstable
sudo apt update

source-list

deb https://ppa.launchpadcontent.net/neovim-ppa/unstable/ubuntu jammy main
deb-src https://ppa.launchpadcontent.net/neovim-ppa/unstable/ubuntu jammy main

stable

sudo add-apt-repository ppa:neovim-ppa/stable
sudo apt update

source-list

deb https://ppa.launchpadcontent.net/neovim-ppa/stable/ubuntu jammy main
deb-src https://ppa.launchpadcontent.net/neovim-ppa/stable/ubuntu jammy main

Install

sudo apt-get install software-properties-common

選擇「PPA / Unstable」

sudo add-apt-repository ppa:neovim-ppa/unstable
sudo apt update

安裝「neovim」

sudo apt-get install neovim python3-pynvim

執行

nvim -v

顯示

NVIM v0.8.0-dev
...略...

安裝 LunarVim

run

sudo apt-get install yarn make

run

sudo apt-get install build-essential

LunarVim

bash <(curl -s https://raw.githubusercontent.com/lunarvim/lunarvim/master/utils/installer/install.sh)

Nvim 探索筆記 / LunarVim

curl -fLo "$HOME/.config/lvim/config.lua" --create-dirs \
	'https://raw.githubusercontent.com/samwhelp/note-about-nvim/gh-pages/_demo/lua/case/lunarvim/config/lvim/config.lua'
mkdir -p ~/.local/bin/
cd ~/.local/bin/
ln -sf lvim vi
lvim +'hi NormalFloat guibg=#1e222a' +PackerSync

nerd-fonts

font-match-order

nerd-fonts / liberation

mkdir -p ~/.local/share/fonts/nerd-fonts
curl -fLo "$HOME/.local/share/fonts/nerd-fonts/Literation Mono Nerd Font Complete.ttf" 'https://github.com/ryanoasis/nerd-fonts/raw/master/patched-fonts/LiberationMono/complete/Literation%20Mono%20Nerd%20Font%20Complete.ttf'

fc-cache -fv ~/.local/share/fonts/