Nodejs is only needed for GitHub Copilot. Dotnet sdk is only needed for the Bicep LSP.
- Install neovim
- Install Nerdfonts
- Fork this repo and clone it to your
~/.config/
folder - Start NeoVim
- Run
:checkhealth lazy
forlazy vim
plugin verification - Verify plugins by running the
Lazy
command - With rustup installed run
rustup component add rust-analyzer
This plugin uses the Mason plugin to manage LSPs. See the mason github repo for available Mason LSP servers.
The LSP for Bicep need dotnet cli
to run, and is started with the cmd
property. Please see the nvim-lspconfig.lua
and the official lsp config
for more information.
GitHub Copilot is a plugin that uses AI to help you write code. To use it, you need to have a GitHub account and be logged in to GitHub in your browser. See the neovim copliot plugin repo for more information, e.g., default keybindings. The copliot plugin uses the meta key by default, however that has been remapped in this settup to avoid meta key usage. See the plugin setup for the new keybindings.
If using iTerm2 on macOS, the meta key is not enabled by default. To enable it, go to Preferences > Profiles > Keys
and select Left option key acts as +Esc
.
This neovim setup works well with tmux. I have created a tmux setup that works well with this neovim setup.
In order to get Rest.nvim
to work, you need to have Python
installed.
It can be benefitional to remap Caps Lock
key to the Ctrl
key. The Ctrl
is used a lot in neovim, and it is easier to reach the Caps Lock
key using the home row.