- Install neovim i.e.
sudo apt install neovim
orbrew install neovim
orsudo dnf install neovim
- Install nerdfont `wget -P ~/.local/share/fonts_tmp https://github.com/ryanoasis/nerd-fonts/releases/download/v3.0.2/JetBrainsMono.zip && unzip ~/.local/share/fonts_tmp/JetBrainsMono.zip -d ~/.local/share/fonts_tmp && mkdir -p ~/.local/share/fonts && mv ~/.local/share/fonts_tmp/JetBrainsMonoNerdFont-* ~/.local/share/fonts && rm -rf ~/.local/share/fonts_tmp && fc-cache -fv'
- Choose nerdfont in terminal settings
git clone https://github.com/kbrashem/neovim-config.git ~/.config/nvim
- Open neovim
nvim
and Lazy will install plugins - Run
:MasonInstallAll
to install all mason dependencies (LSPs and formatters) - Authenticate github copilot
:Copilot auth
if necessary
Ctrl + n
- Toggle file explorerAlt + h
- Open terminal below<leader> + h
- Open new terminal below:noa w
- Save without autoformat<leader> + ch
- Open cheatsheet:Telescope keymaps
- Show keymaps
:LspInfo
- Show LSP informationgd
- Go to definitionK
- HoverCtrl + e
- Exit suggestions
Ctrl + f
- Trigger completionAlt + ]
- Suggest another completion:CopilotChat <message>
- Send a message to Copilot:CopilotChat
- Open chat window
:Conform
- See the logs
za
- Toggle Foldzc
- Close Foldzo
- Open FoldzA
- Open all FoldszM
- Close all Folds