Personal nvim configuration structure and documentation. An ever growing list of cool things that can be done with nvim...
~/.config/nviminit.lua- Basic vim configuration and main entrypointlua- Directory for all modulescore- Directory for all basic modules that make everything workcompletion.lua: This is where all the language servers are setup and configured.keys.lua: All the key mappingsplugins.lua: All Packer configuration together with all #Plugins that should be installed, this includes themes.tree-sitter.lua: Tree-Sitter configuration. More language servers for nicer syntax highlighting.
misc- Small quality of life tweaks, nothing that messes with the editor usage itself.dashboard.lua: Dashboard banner and settingsstatusline.lua: Statusline setup and configuration
A lot of plugins... Here are the links for the most general ones, the rest in lua/core/plugins.lua are just dependencies for these.
packer- Package managervim-one- Simple theme, can't beat itdashboard-nvim- Clean looking start page when running without any parametersnvim-treesitter- Better syntax highlighting. (Install servers with:TSInstall)vim-prettier- File formattertelescope.nvim- Fuzzy finder for literally anythingnvim-tree.lua- Pretty file browsernvim-hardline- Status line at the bottom of the editornvim-lsp-installer- Install new completion servers with:LspInstall <server>, some are installed automatically inlua/core/completion.lua
Honorable mentions: lspkind-nvim, delimitMate
Leader is space so wherever you see SPC think of that.
Modes:
n- normali- insertv- visual
| combo | action | modes |
|---|---|---|
SPC a |
Open file browser | n |
Control p |
Find files | n |
Control f |
Find text in files | n |
SPC j/k |
Split horizontally | n |
SPC h/l |
Split vertically | n |
Control w |
Close currently focused file | n, i |
Alt j/k/h/l |
Move between split panes (down, up, left, right) respectively | n, i |
Control s |
Save the currently focused file | n, i, v |