mameau%CWD%:> █
OFFLINE
$ cat vim.notes
CONFIGURED SHORTCUTS

leader is backspace
(t) is toggle
(w) window

F4        paste mode (t)
F7        nerdtree (t)
F8        outline
F9        terminal
SPACE     fold

autocomplop/
Down      move down through list
Up        move up through list
Right     autocomplete current
Enter     autocomplete current
Left      cancel

ctrl/
I         indent lines (t)
H         left (w)
J         bottom (w)
K         up (w)
L         top (w)

leader/
n         vim.notes
c         vimrc
p         whitespace display (t)
s         spellcheck (en_au)
F5        relative line numbering
F6        disabled line numbering
F9        mouse mode (t)


# sessions (workspaces)
mksession name.vim
source name.vim
vim -S name.vim

# use system clipboard (if supported)
"*yy or "+yy

# enable spellchecking https://www.linux.com/training-tutorials/using-spell-checking-vim/
set spell spelllang=en_uk

# reformat to 80cols
:set textwidth=80
gg
gqG


# center text to textwidth https://vimtricks.com/p/vim-text-alignment/
:center

re-indent a file
gg=G

reload/source current buffer
:so %

themes
https://github.com/cocopon/iceberg.vim/?tab=readme-ov-file
https://github.com/Badacadabra/vim-archery

plugins
https://github.com/jiangmiao/auto-pairs
https://github.com/vimwiki/vimwiki
https://github.com/preservim/nerdtree
testing
https://github.com/preservim/tagbar

reference
https://dane-bulat.medium.com/how-to-turn-vim-into-a-lightweight-ide-6185e0f47b79