Hardo's neovim config
Features:
-
Incredibly short start time despite no lazy loading, and everything will be snappy as everything is already preloaded
- 220ms on Arch WSL (Windows 11, ryzen 3700X, 32GB 3200MHz RAM)
-
more but without improved same-word highlighting)
Nice-looking (Nordic and Tokyo Night themes "fully" integrated, comes with -
A complete, but pretty simple package, with an easy to read/use structure
-
Easily modifiable for your usecase
Requirements
- Latest Neovim version
- ripgrep (optional, adds functionality to Telescope search)
- Python 3 with venv
- A Nerdfont, I use Jetbrains Mono NerdFont
Installation:
- Clone the repository into your
.config
directory - Start nvim with the
nvim
command - There might be errors, but just run
:PackerInstall
, and almost everything should work - To get coq_nvim to work you might also need to do
:COQdeps
and then you can do:COQnow
to start COQ (Note that autostart is on, so this will only be necessary the first time)
Notes
- The README and LICENSE will also be in this repository, you could remove them if you want, but they shouldn't create any problems
- The reason I am doing it like this is that it will be mush easier to update the config, I can just change something and push it, without having to copy stuff to or from a folder
Plugins used
-
Manager: nvim.packer
-
Core
- File Explorer: nvim-tree
- Icons: devicons (No Config)
- Search: telescope
- Syntax Highlighting: treesitter (LSP will be added later)
- context (No Config)
- File Explorer: nvim-tree
-
GUI
- Colorschemes: (Configs are in theme.lua)
- Statusline: lualine (No Config)
- Indent and Chunk Highlighting: hl-chunks
- Regex Help(Maybe broken): regexplainer
- Tabs: tabline
- Close tab nicely: vim-bbye (Config in Utils)
- Word Highlighting: vim-illuminate
- Wild Menu: wilder
- Dashboard: dashboard
-
Utils
- numbertoggle, Automatically switches between relative and absolute numbers depending on mode
- mkdir, Creates a directory-path if there isn't already one
- FTerm, Open a terminal window in NeoVIM
- noice, Improved UI
- tabout, Use tab to get out of (), {}, and more
- autoclose, Automatically closes (), {}, and more
- Which-Key, Shows available keymaps
- colorizer, Shows what color a color code is
- trouble, Inline errors and more
-
LSP/Completion
Mappings
Keybind | Action |
---|---|
<ctrl + n> | Open file tree |
<ctrl + p> | Open search |
<space + t> | Choose Colorscheme |
<shift + t> | Next Tab |
<shift + b> | Previous Tab |
<Ctrl + g> | Close current Tab |
<Enter + Enter> | Open Terminal |
<Esc> | Close Terminal, If the terminal is not focused, otherwise it is easier to just type exit in the terminal window |
<Tab> | Cycle through comp suggestions |
<Enter> | Accept comp suggestion |
<Shift + Right> | Accept Tabnine Suggestion |
Plans
- No LazyLoading, one second is still fast and then there will be less wait for plugins when you use them. However, if the config becomes bigger I might change this
- More Colorschemes
- LSP
- DAP
- Autocompletion
- Snippets
- "Code Moving"