Hi. This is my config for Neovim.
-
No UI affects, loading screens, etc. to get in the way
-
backspace
acts in the original way (vi
behavior). -
Which-key
pop-up delay is high on purpose - that way it doesn’t pop up constantly. -
No debuggers implemented in this config (yet).
-
Two choices for colorschemes: Github and Tokyonight
-
Clone the repo:
Linux, etc.git clone https://github.com/majamin/neovim-config.git ~/.config/nvim
Windows (PowerShell)git clone https://github.com/majamin/neovim-config.git $env:LOCALAPPDATA/nvim
-
Change language, leader, preferences and LSPs, etc. in
lua/user/opts.lua
. -
Add your plugins as separate files in
lua/plugins/
directory [1] -
Restart neovim and enjoy!
-
Browse all keymaps with Telescope
keymaps
in ;; or:WhichKey
-
Run
:Copilot
to turn on Github copilot
Binding | Description |
---|---|
- |
Browse files |
F2 |
Save all open files and make session |
F3 |
Toggle spelling |
Space |
Initialize incremental treesitter selection, increment by repeating Space (ensure your Treesitter lang is installed) |
TAB |
Open next buffer |
Shift+TAB |
Open previous buffer |
Backspace |
Jump to previously opened buffer (^) |
;+f |
Fuzzy find files |
;+g |
Fuzzy find text in files |
;+l |
LSP menu |
\ |
Format buffer (falls back to |
;+t |
Opens Trouble (if LSP is capable) |
K |
Hover Documentation |
Ctrl+n (insert mode) |
LSP completion, but also navigate the menu with Ctrl+n and Ctrl+p when menu visible |
-
Read
:mes
for any errors -
Ensure
:checkhealth
looks ok -
Install any missing LSP clients, formatters, via
:Mason
ifuser/opts.lua
was not enough -
Does your LSP need special handling?