Custom config for [email protected]:NvChad/NvChad
I have been a VSCode user for years and I am slowly moving forward to NVIM
, so this is my config that mimic VSCode
keybinds and UI, with a goal from removing plugins as I am getting used to it and learning more about NVIM
.
- Same as NvChad
- Download and install CTAGS
- I am using
Hack Nerd Font
- My terminal is
WezTerm
- My neovim version is
nightly
- I am using a M1, so some things may not work out of the box for you
For questions feel free to open an issue or you can find me in the NvChad discord server.
- Lua
- Go (go.nvim)
- JavaScript
You can navigate between the options with <Up>
and <Down>
and select with <CR>
.
If copilot suggestion is active, you can use <Tab>
to select the copilot option.
With UFO, Pretty Fold
With Trouble
With Error Lens
With lsp-lines
LSP Lines is only enabled for Go, so it may need some tweaking for other languages.
With nvim-scrollbar
If you do not use neovim nightly
, you should disable the plugin dropbar.lua
and then enable the lspsaga winbar in lspsaga.lua
.
With Illuminate
With Todo-comments
With SearchBox
With IncRename
With Muren
With Bookmark
- Telescope frequent files
<leader>fr
(with telescope-frecency) - Telescope undo tree
<leader>fu
(with telescope-undo) - Telescope fuzzy native (with telescope-fzf-native)
From left to right:
- Github copilot status (it shows if copilot is active or not)
- Harpoon file navigation (it shows if harpoon is harpooned or not)
- Battery status (usefull when using in fullscreen)
- Session status (icon for Possession plugin)
All the keybinds are available in the mappings.lua
file, and also described in the NVCheatSheet, you can access it with <leader>ch
.
I do not like format on save, so my config is set to format on <leader>fm
only, but you can change it to whatever you want, to do it, just uncomment the autocmd in the autocmd.lua
file.
For .go
files, you can use <leader>fi
to complete imports.
I am using universal CTAGS to have a better GoToDefinition, the tags are generated automatically with guttentags.
Keybind to use is <C-]>
.
With LazyGit
I have adapted the Evondev Dracula theme from VSCode to Neovim, you can find it in the theme
folder.
Config ready for neovide, options are available in the neovide.lua
file.
- Auto save with auto-save
- UI overhaul with Noice
- UI Improvement with Telescope-ui-select
- Arguments highlights with hlargs
- Quick file navigation with Harpoon