start a new nvim config from scratch

This commit is contained in:
2025-11-14 22:49:45 -05:00
parent 158937509c
commit 2c2804273c
11 changed files with 219 additions and 0 deletions

37
CHEATSHEET.md Normal file
View File

@@ -0,0 +1,37 @@
# Neovim cheatsheet for this setup
## Save and exit
```vim
:w -- save file
w --
<leader>w --
:wq -- save and exit
<leader>wq --
:q -- exit without saving
<leader>q --
q --
:q! -- force to quit without saving
<leader>qq --
```
## Buffer navigation
```vim
:e <file> -- open a file in a new buffer
<leader>e --
:ls -- list buffers
<leader>ls --
:bnext -- goto next buffer
<leader>f --
:bprevious -- goto previous buffer
<leader>d --
```