Neovim¶
sudo apt-get install ninja-build gettext cmake unzip curl
Get
Source code
from Neovim - Releases.Decompress it to
neovim/
.
cd neovim
# rm -r build
make CMAKE_EXTRA_FLAGS="-DCMAKE_INSTALL_PREFIX=$HOME/neovim"
make install
ln -s ~/neovim/bin/nvim ~/.local/bin/
# rm -rf ~/.local/share/nvim/lazy/
nvim
Usage¶
nvim_headless.service (Cancel)¶
P.S. I suspect it once broke my RPI-5 system. I don’t know how to fix it and have to reinstall the system.
On Ubuntu 24 ARM:
vim ~/.config/systemd/user/nvim_headless.service
[Unit]
Description=Start Neovim Headless Server
[Service]
ExecStart=nvim --headless --listen 0.0.0.0:1234
Restart=on-failure
User=<username>
[Install]
WantedBy=default.target
systemctl --user daemon-reload
systemctl --user enable --now nvim_headless
On Windows10:
C:\Users\User\Scoop\apps\git\current\usr\bin\ssh.exe <username>@<your_host> -L 1234:0.0.0.0:1234 -- /home/<your_host>/.local/bin/nvim --headless --listen 0.0.0.0:1234
neovide --server <your_host>:1234
Reference¶
Configure LSP¶
Configure CMP¶
As LaTex Editor¶
sudo pacman -S texlab zathura
Reference¶
Cross-reference¶
Resource¶
Neovide¶
Reference¶
lazy.nvim¶
git clone https://github.com/folke/lazy.nvim C:\Users\User\AppData\Local\nvim-data\lazy\lazy.nvim
Troubleshoot¶
packer.nvim (Cache)¶
Reference¶
nvim-treesitter¶
:TSInstall html
Reference¶
Troubleshoot¶
mason.nvim¶
:MasonUpdate
:MasonInstall <lsp>
Reference¶
Blink Completion (blink.cmp)¶
Reference¶
cmp-lsp-rimels (Cache)¶
Reference¶
Cross-reference¶
telescope.nvim¶
Reference¶
nvim-dap¶
Reference¶
nvim-devdocs¶
mkdir C:\Users\User\AppData\Local\nvim-data\devdocs
:DevdocFetch
:DevdocInstall <docset>