Vim

set syntax/define as shell script

:sytanx on
:set syntax=sh 

show/unshow

:set nu
:set nonu

Shortcut Key:

  • auto indent gg=G
  • delete whole line dd
  • go to end of line G