Kickstart.nvim targets only the latest 'stable' and latest 'nightly' of Neovim. If you are experiencing issues, please make sure you have the latest versions.
Sugestão: instalar com snap
:
sudo snap install nvim --classic
External Requirements:
- Basic utils:
git
,make
,unzip
, C Compiler (gcc
)- Instalar
build-essential
- Instalar
- ripgrep
- Disponível no repositório Debian
- Clipboard tool (xclip/xsel/win32yank or other depending on platform)
- A Nerd Font: optional, provides various icons
- if you have it set
vim.g.have_nerd_font
ininit.lua
to true
- if you have it set
- Language Setup:
- If you want to write Typescript, you need
npm
- If you want to write Golang, you will need
go
- etc.
- If you want to write Typescript, you need
Neovim's configurations are located under the following paths, depending on your OS:
OS | PATH |
---|---|
Linux, MacOS | $XDG_CONFIG_HOME/nvim , ~/.config/nvim |
You likely want to remove lazy-lock.json
from your fork's .gitignore
file
too - it's ignored in the kickstart repo to make maintenance easier, but it's
recommmended to track it in version control.
git clone git@github.com:laoumh/kickstart.nvim.git "${$HOME/.config}"/nvim
Start Neovim
nvim
That's it! Lazy will install all the plugins you have. Use :Lazy
to view
current plugin status. Hit q
to close the window.
Read through the init.lua
file in your configuration folder for more
information about extending and exploring Neovim. That also includes
examples of adding popularly requested plugins.
The Only Video You Need to Get Started with Neovim
Ao invés de instalar novamente no servidor, possível montar o diretório remoto localmente com sshfs
:
# Instala
sudo apt install sshfs
# Monta diretório remoto
sshfs [usuario@]<servidor_removo>:</diretorio/projeto/alvo> <~/mnt/diretorio/projeto/local>
# Desmonta diretória remoto
fusermount -u <~/mnt/diretorio/projeto/local>
Devido ao funcionamento sandboxing dos pacotes snap
, necessário configuração para acesso do diretório montado (também vale para VSCode, por exemplo):
1 - Habilitar user_allow_other
em /etc/fuse.conf
:
sudoedit /etc/fuse.conf
# Descomentar user_allow_other
2 - Montar diretório com opção allow_root
:
sshfs -o allow_root [usuario@]<servidor_removo>:</diretorio/projeto/alvo> <~/mnt/diretorio/projeto/local>
Ver issue Unable to open visual studio code when inside sshfs mounted drive UBUNTU WSL.