The awesomest neovim config out there.
- Clone the repo into your
.config/nvim
- Open neovim
Startup time is typically around 13 milliseconds on my machine. Most plugins are
lazy-loaded. You can view the startup time with :Lazy profile
.
Key |
Binding |
Space g |
Open fugitive status window |
Space G |
Show diff view |
]g |
Next git hunk |
[g |
Previous git hunk |
ghs |
Stage git hunk |
ghu |
Undo stage git hunk |
ghr |
Reset git hunk |
Space Space |
Preview git hunk |
Key |
Binding |
Tab |
Invoke Completion |
Shift Tab |
Invoke Copilot / Select previous item |
Enter |
Complete / Select next item |
Key |
Binding |
- |
Open file tree |
Space - |
Open file tree and upadte CWD |
Enter |
Open file |
. |
Set root |
Backspace |
Change directory up |
` |
Set current directory |
g. |
Toggle show hidden files |
Space f |
Search project files |
Space / |
Search project file contents |
Ctrl r |
Refresh files |
Ctrl p |
Toggle preview |
Ctrl t |
Open file in new tab |
Ctrl s |
Open file in vertical split |
O |
Open in system application |
Key |
Binding |
Enter |
Init selection |
Tab |
Grow selection |
Shift Tab |
Shrink Selection |
Ctrl j |
Split code |
Ctrl k |
Join code |
vaf |
Select outer function |
vif |
Select inner function |
vac |
Select outer class |
vic |
Select inner class |
]f |
Jump to next function |
[f |
Jump to previous function |
]c |
Jump to next class |
[c |
Jump to previous class |
Key |
Binding |
gd |
Goto definition |
gy |
Goto type definition |
gr |
Goto references |
gi |
Goto implementations |
go |
Goto incoming calls |
gpd |
Preview definition |
gpy |
Preview type definition |
gpr |
Preview references |
gpi |
Preview implementations |
gP |
Close all preview windows |
g Space |
Switch C/C++ source/header |
K |
Hover documentation |
Space r |
Rename symbol |
Space a |
Code action |
Space d |
Show diagnostics |
Space h |
Toggle inlay hints |
]d |
Jump to next diagnostic |
[d |
Jump to previous diagnostic |
Key |
Binding |
Ctrl s |
Split window |
Ctrl t |
Create new tab |
Ctrl h |
Switch window left |
Ctrl j |
Switch window down |
Ctrl k |
Switch window up |
Ctrl l |
Switch window right |
Alt h |
Decrease window size x |
Alt j |
Increase window size y |
Alt k |
Decrease window size y |
Alt l |
Increase window size x |
H |
Goto previous tab |
L |
Goto next tab |
Key |
Binding |
Ctrl Enter |
Toggle terminal |
<NUM> Ctrl Enter |
Toggle terminal <NUM> |
Key |
Binding |
zR |
Open all folds |
zM |
Close all folds |
zr |
Open all folds except comments and imports |
zm |
Close all folds with level |
Space k |
Preview current fold |
Key |
Binding |
Alt e |
Fast warp next end pair |
Alt Shift e |
Undo fast warp next end pair |
Key |
Binding |
Space ` |
Add to list |
Space Space |
Open list |
Space 1 |
Select 1 |
Space 2 |
Select 2 |
Space 3 |
Select 3 |
Space 4 |
Select 4 |
Space 5 |
Select 5 |
Space 6 |
Select 6 |
Space 7 |
Select 7 |
Space 8 |
Select 8 |
Space 9 |
Select 9 |
Space 0 |
Select 10 |