Neovimยถ
Installยถ
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
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 PC:
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