Goals of this Post#
- To achieve my nvim TIPS for future of myself.
- To remember my nvim keybindings, plugins, settigns, etc.
- Just for fun.
TIPS#
nvim default#
leader + qq: close nvim immediately
move cursor#
w: move to front of next word
b: move to front of previous word
e move to end of the word
0: move to front of line
^: move to front charactor of line
$: move to end of line
move viewpoint#
ctrl + u: scroll to half of upper page
ctrl + d: scroll to half of lower page
ctrl + b: scroll to upper page
ctrl + f: scroll to lower page
zz: move cursor to center position
zt: move cursor to high position
zb: move cursor to low position
window#
leader + w(hjkl): move cursor to other window
buffer#
leader + bo: close all other buffers
explorer snacks#
leader + e: open/close explorer snacks
lsp - clangd#
gd: go to definition (정의)
gD: go to declaration (선언)
gr: go to reference (참조 목록)
gi: go to Implementation (구현)
syntax folding#
za: fold the syntax
zo: open the syntax
Things to be imporved#
- Fix the bugs which ignores the leader key.
- See all the default keybindings.
- Replace the uncomfortable keybinding to others.
- Add auto annotation appending feature