These are some options I found interesting
:set syntax on
This will turn syntax highlighting on
:set number
This will show the line number
:hardcopy > file.pdf
This will write the file to the pdf file.pdf
:set printoptions=right:20pc,left:20pc,top:20pc,bottom:20pc
This will appy margin to the print output based on the given parameters
set autoindent
filetype plugin indent on
This will autoindents the code as we type
Comments !