- intellisense :
tab(can use in command(:) mode) - keymap site :
-
select block :
ctrl + space -
shit buffer :
shit + h,j,k,l -
find all :
sapce x 2 -
'b'uffer 'd'elete :
space -> b -> d -
show man page :
shift + k -
show man page + into man paht :
shift + (k x 2) -
'g'oto 'd'efinition :
g + d -
'g'oto t'y'pe definition :
g + y -
'g'oto 'r'eference =
g + r -
'g'oto 'i'mplementation :
g + i -
'g'oto 'D'eclaration :
g + D -
toggle comment :
select lines -> g + c -
switch other tab(alt + tab) :
space + ` -
rename :
space + c + r -
site
- ctl + home/end :
ctrl + h/l - home :
shift + 6 - start/end of current scope :
shift + 5 - end :
shift + 4 - continuously replace :
shift + r - select line :
shift + v - select inner block :
shift + v+i+{ - select block until next blank :
shift + v+{ or } - replace all :
:%s/foo/bar/g
-
'sp'lit :
: + sp, vsp -
switch window :
ctrl + h,j,k,l -
move tab :
tab, shift + tab
- open/close NvimTree :
ctrl + n - focus NvimTree :
space -> e - 'a'ppend file :
a - 'c'opy 'f'ile :
c -> p - 'r'ename file :
r - 'd'elete file :
d - file informawtion :
ctrl + k - fold directory :
backspace - resize :
ctrl + left/right
- change 'th'eme :
space -> t -> h - 'f'ind 'a'll :
space -> f -> a - 'f'ind 'f'iles :
space -> f -> f - 'f'ind 'b'uffers(tabs) :
space -> f -> b - 'h'orizontal or 'v'ertical terminal :
space -> h, v - 'c'omment :
v + (space + /), (g + c) - comment current block :
g + b + b - 'ch'eat sheet :
space -> c -> h, leadkey : space - 'g'o to 'd'efinition :
g + d/D,ctrl + ] - close tab :
space + x - window line number :
space + n, (r + n), 'r'elative