Vim Quick Quide

:q  == Close Vi

:wq  == Save and Close Vi

:vim -p   file1.php   file2.sh    === Open multiple file

:tabn   ===  Switch to Next Tab

:tabp  === Switch to Previous Tab

:tabc  ===  Close current tab

:set nu  == Show line number

:set nu!   === Hide line number

By kaixersoft Posted in VIM