The lua config files for my neovim setup
I mainly use 💤 lazy.nvim for plugin management, gruvbox/tokyonight as colorscheme and lualine as status bar
I mainly use 💤 lazy.nvim for plugin management, gruvbox/tokyonight as colorscheme and lualine as status bar
- base-devel (for plugin compilation)
- python (for auto completion)
- language servers
- deno (for javascript)
- rust-analyzer (for rust)
Clone repo to system's configuration dir
git clone https://github.com/math-queiroz/nvim
Install dependencies on Windows via winget
winget install LLVM.LLVM DenoLand.Deno Python.Python.3.12
A complete list of plugins can be found in the lua/plugins/lazy.lua file
- Plugin management via Lazy.nvim
- Autopairing via NvimAutopairs
- Comment toggling via Comment
- Completion via coq_nvim
- Git UI hints via Gitsings
- Theming from Gruvbox
- Statusline via lualine.nvim
- Snippets via LuaSnip
- Bufferline via Bufferline
- LSP config via LspConfig
- Dir navigation via NvimTree
- Finder/Filter/Previewing via Telescope
- Package management via Mason
- User-defined mapping hint via which-key.nvim
A list of keybindings can be found in the lua/keybinds.lua file,
and some other keybindings (like for telescope) are spread around theirs plugins definition files
The leader key is defined to Space
Esc - No highlight
Altj - Move line up
Altk - Move line down
'" - Surround in double quotes
'' - Surround in simple quotes
'{ - Surround in curly brackets
'[ - Surround in brackets
'{ - Surround in parenthesis
'< - Surround in less than symbol
- Tab - Next tab
- ShiftTab - Previous tab
- Leaderq - Close file
- Ctrlk - Comment line/block
- Leadergd - Git diff
- Leadergh - Git line highlights
- Leadergj - Go to next hunk
- Leadergk - Go to previous hunk
- Leadergy - Stage hunk
- Leadergr - Reset hunk
- Leaderga - Stage hunk
- CtrlwCtrle - Open directory tree
- On Windows, it may be required to manually clone coq_nvim on a terminal as administrator with symlinks enabled (as from ms-jpq/coq_nvim#589 (comment));
Fix with:cd $Env.LocalAppdata/nvim-data/lazy && rm -Force coq_nvim && git -c core.symlinks=true clone https://github.com/ms-jpq/coq_nvim.git
