vim <command>

Vi[m] is an one of two powerhouse text editors in the Unix world, the other being EMACS

Arguments

NameDescription
commandfilepaths

Options

NameDescription
-vVi mode (like 'vi')
-eEx mode (like 'ex')
-EImproved Ex mode
-sSilent (batch) mode (only for 'ex')
-dDiff mode (like 'vimdiff')
-yEasy mode (like 'evim', modeless)
-RReadonly mode (like 'view')
-ZRestricted mode (like 'rvim')
-mModifications (writing files) not allowed
-MModifications in text not allowed
-bBinary mode
-lLisp mode
-CCompatible with Vi: 'compatible'
-NNot fully Vi compatible: 'nocompatible'
-V <command> <command>Be verbose [level N] [log messages to fname]
-DDebugging mode
-nNo swap file, use memory only
-r [command]Recover crashed session if filename is specified, otherwise list swap files and exit
-L <command>Same as -r
-T <command>Set terminal type to <terminal>
--not-a-termSkip warning for input/output not being a terminal
--ttyfailExit if input or output is not a terminal
-u <command>Use <vimrc> instead of any .vimrc
--nopluginDon't load plugin scripts
-p [command]Open N tab pages (default: one for each file)
-o [command]Open N windows (default: one for each file)
-O [command]Like -o but split vertically
+Start at end of file
+ (with line) <command>Start at line <lnum>
--cmd <command>Execute <command> before loading any vimrc file
-c <command>Execute <command> after loading the first file
-S <command>Source file <session> after loading the first file
-s (with scriptin) <command>Read Normal mode commands from file <scriptin>
-w <command>Append all typed commands to file <scriptout>
-W <command>Write all typed commands to file <scriptout>
-xEdit encrypted files
--startuptime <command>Write startup timing messages to <file>
-i <command>Use <viminfo> instead of .viminfo
--clean'nocompatible', Vim defaults, no plugins, no viminfo
-h,--helpPrint Help message and exit
--versionPrint version information and exit