Neovim config
Basic
Install
Dependencies
node, python, clangd, yapf, pylint, tslint
Neovim
google.com
Vim-plug
google.com
Where will we put these configs
~/.configs
clone this repo here
Extensions should be install
Vim trick
Split window
:vs
split horizontal:sp
split verticalX<leader>,
increase width of tabX<leader>.
decrease width of tabX<leader>-
decrease height of tabX<leader>=
increase height of tab
Folding
zc
close the foldzM
close all fold on current bufferzo
open the foldzR
open all folds on current bufferzj
cursor is moved to next foldzk
cursor is moved to previous fold
Moving
Ctrl + o
Move to previous postion of cursorCtrl + 6
Back to previous filegd
go to definition in current filegs
go to definition with split tab
Change, delete
ctC
delete until meet charactor C and change mode to insertcsiw"'
change " to ' in current word (only contain Alphabet character)csiW[{
change [] to {} in current word (continuos charactor without space)cst<p>
change tag surround todsiW{
delete {} in current word (continuos charactor without space)<leader>rn
rename variables, function...di[
delete inside [], similar to {}, '', "",...ci[
change inside [], similar to {}, '', "",...f[
move to the the character [ in line