- Neovim
- vim-plug
- ripgrep - Required for Telescope live grep
- fd - (Optional) Faster alternative to
find
for Telescope - nerd-fonts - Required for icons in NvimTree
This configuration uses vim-plug as the plugin manager. To install vim-plug, run the following command:
sh -c 'curl -fLo "${XDG_DATA_HOME:-$HOME/.local/share}"/nvim/site/autoload/plug.vim --create-dirs \
https://raw.githubusercontent.com/junegunn/vim-plug/master/plug.vim'
- Clone this repository.
- Link the
init.lua
andlua
directory to the Neovim configuration directory, usually~/.config/nvim
.
ln -s $PWD/init.lua ~/.config/nvim/init.lua
ln -s $PWD/lua ~/.config/nvim/lua
- Run
:PlugInstall
to install the plugins. - Restart Neovim.
Keybinding | Description |
---|---|
[n] <leader> |
\ |
[n] <leader>ff |
Telescope find files |
[n] <leader>fg |
Telescope live grep |
[n] <leader>fb |
Telescope buffers |
[n] <leader>fh |
Telescope help tags |
[v] C-f |
Telescope live grep selection |
[n] C-, |
Buffer previous |
[n] C-. |
Buffer next |
[n] C-p |
Buffer pick |
[n] C-e |
NvimTree toggle |
[n] <leader>nf |
NvimTree find file |
[n] <leader>nc |
NvimTree collapse |
[n] <leader>p |
ALT fix |
[n] <leader>e |
Open diagnostics |
[n] <leader>xx |
Trouble diagnostics toggle |
[n] <leader>xX |
Trouble diagnostics toggle filter.buf=0 |
[n] <leader>zR |
UFO Open all folds |
[n] <leader>zM |
UFO Close all folds |
Run :Copilot setup
to configure Copilot.
nvim-lspconfig/blob/master/doc/server_configurations.md
Core
UI & Themes
Navigation
LSP
Completion
Git Integration
Language & Syntax
Utilities
We use wezterm with the Tokyo Night Moon color scheme. To use the color scheme, add the following to the wezterm
configuration file. For more information, see the wezterm configuration documentation.
config.color_scheme = 'Tokyo Night Moon'