My Neovim config
Shortcuts
~Misc
File explorer <space>pv
Fuzzy finder <space>pf
Grep search <space>ps
Brackets around word N: yswb
Brackets around mark V: S)
*curly brackets V: S}
Delete delimiters N: ds<delimiter>
Move line up V: K
down V: J
half-page down N: <C-d>
half-page up N: <C-u>
page up N: <C-b>
page down N: <C-f>
Copy to OS clipboard V: <space>c
Show vertical diff :vert diffs <filename>
Convert \ to / V: <space>win
~Tabs
New tab N: <space>t or :tab split
New tab on file N: <space>f or Ctrl+W+gf
~Comments
Comment line out N: gcc
Combine motions N: gc<motion>
Comment marked V: gc
Uncomment N: gcgc
~Panes
New pane :new
:vnew
Split pane :sp
:vsp
Change pane <C-w>hjkl (or arrow keys)
Close pane :q
Move panes: <C-w>HJKL
Change pane size <space>, (horizontal)
<space>.
<space>+ (vertical)
<space>#
Reset pane size <space>-
~Module :Ex
Toggle hidden files gh
Create file %
Create directory d
Delete file/directory D
Rename file/directory R
Assign target dir mt
Mark file/dir for cp/mv mf
Copy marked to target mc
Move marked to target mm
Run ext. cmd on marked mx
~Module fugitive
Open Git cmd <space>gs
stage (add) file s
unstage u
toggle stage/unstage -
unstage everything U
create commit cc
amend commit (w/ msg) ca
amend commit (w/o msg) ce
toggle inline diff =
insert inline diff >
Git diff split dd
close diff buffer dq
open in new hsplit gO
open in new tab O
~Module telescope
Find files <space>pf
Find files (git) <C-p>
Grep <space>ps
~CTAGS
Go to definition gd
Open definition K
in new pane
Jump back <C-o> or <C-t>
Name
Size
Modified (UTC)
---
---
---
---