Below are some Vim commands that made my life easier.
$ vim -M file.txt
wow! totally cannot enter insert mode. not modifiable!
vim command line options:
-o[N] => start vim with N open windows, split horizontally
-O[N] => split vertically
-v => run in full-screen mode
-y => modeless vi, run vim in insert mode only without command mode
Running vi or vim with ‘-‘ as an argument makes it read the file to edit from standard input
ls | vi –
ps -e | vi –
open files in multiple tabs in vim
Break out current window into a new tabview