Usefull command
### forgot sudo on vim
:w !sudo tee %
### add line at the end of file batch
:%s/$/addThisEndOfLine/
### quit vim (quick way)
1. push esc
2. push shift + z (twice)
#transform column to line
:%s/\n/ /g
#custom tab indentation
:set shiftwidth?
:set shiftwidth=4
