Skip to content

A launch point for your personal nvim configuration

License

Notifications You must be signed in to change notification settings

laoumh/kickstart.nvim

 
 

Repository files navigation

kickstart.nvim

Instalação

Install Neovim

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

Install External Dependencies

External Requirements:

  • Basic utils: git, make, unzip, C Compiler (gcc)
    • Instalar build-essential
  • 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 in init.lua to true
  • Language Setup:
    • If you want to write Typescript, you need npm
    • If you want to write Golang, you will need go
    • etc.

Install Kickstart

Neovim's configurations are located under the following paths, depending on your OS:

OS PATH
Linux, MacOS $XDG_CONFIG_HOME/nvim, ~/.config/nvim

Recommended Step

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.

Clone kickstart.nvim

git clone git@github.com:laoumh/kickstart.nvim.git "${$HOME/.config}"/nvim

Post Installation

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.

Getting Started

The Only Video You Need to Get Started with Neovim

Uso remoto

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>

sshfs com snap

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.

About

A launch point for your personal nvim configuration

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Lua 100.0%