186ae720dSBram MoolenaarVIM(1) General Commands Manual VIM(1) 2071d4279SBram Moolenaar 3071d4279SBram Moolenaar 4071d4279SBram Moolenaar 5071d4279SBram MoolenaarNAME 6c572da5fSBram Moolenaar vim - Vi IMproved, a programmer's text editor 7071d4279SBram Moolenaar 8071d4279SBram MoolenaarSYNOPSIS 9071d4279SBram Moolenaar vim [options] [file ..] 10071d4279SBram Moolenaar vim [options] - 11071d4279SBram Moolenaar vim [options] -t tag 12071d4279SBram Moolenaar vim [options] -q [errorfile] 13071d4279SBram Moolenaar 14071d4279SBram Moolenaar ex 15071d4279SBram Moolenaar view 16071d4279SBram Moolenaar gvim gview evim eview 17071d4279SBram Moolenaar rvim rview rgvim rgview 18071d4279SBram Moolenaar 19071d4279SBram MoolenaarDESCRIPTION 20071d4279SBram Moolenaar Vim is a text editor that is upwards compatible to Vi. It can be used 21071d4279SBram Moolenaar to edit all kinds of plain text. It is especially useful for editing 22071d4279SBram Moolenaar programs. 23071d4279SBram Moolenaar 2486ae720dSBram Moolenaar There are a lot of enhancements above Vi: multi level undo, multi win‐ 25071d4279SBram Moolenaar dows and buffers, syntax highlighting, command line editing, filename 26071d4279SBram Moolenaar completion, on-line help, visual selection, etc.. See ":help 27071d4279SBram Moolenaar vi_diff.txt" for a summary of the differences between Vim and Vi. 28071d4279SBram Moolenaar 29071d4279SBram Moolenaar While running Vim a lot of help can be obtained from the on-line help 30071d4279SBram Moolenaar system, with the ":help" command. See the ON-LINE HELP section below. 31071d4279SBram Moolenaar 32071d4279SBram Moolenaar Most often Vim is started to edit a single file with the command 33071d4279SBram Moolenaar 34071d4279SBram Moolenaar vim file 35071d4279SBram Moolenaar 36071d4279SBram Moolenaar More generally Vim is started with: 37071d4279SBram Moolenaar 38071d4279SBram Moolenaar vim [options] [filelist] 39071d4279SBram Moolenaar 40071d4279SBram Moolenaar If the filelist is missing, the editor will start with an empty buffer. 41071d4279SBram Moolenaar Otherwise exactly one out of the following four may be used to choose 42071d4279SBram Moolenaar one or more files to be edited. 43071d4279SBram Moolenaar 44071d4279SBram Moolenaar file .. A list of filenames. The first one will be the current 4586ae720dSBram Moolenaar file and read into the buffer. The cursor will be posi‐ 46071d4279SBram Moolenaar tioned on the first line of the buffer. You can get to the 47071d4279SBram Moolenaar other files with the ":next" command. To edit a file that 48071d4279SBram Moolenaar starts with a dash, precede the filelist with "--". 49071d4279SBram Moolenaar 50071d4279SBram Moolenaar - The file to edit is read from stdin. Commands are read 51071d4279SBram Moolenaar from stderr, which should be a tty. 52071d4279SBram Moolenaar 53071d4279SBram Moolenaar -t {tag} The file to edit and the initial cursor position depends on 54071d4279SBram Moolenaar a "tag", a sort of goto label. {tag} is looked up in the 55071d4279SBram Moolenaar tags file, the associated file becomes the current file and 56071d4279SBram Moolenaar the associated command is executed. Mostly this is used 57071d4279SBram Moolenaar for C programs, in which case {tag} could be a function 58071d4279SBram Moolenaar name. The effect is that the file containing that function 59071d4279SBram Moolenaar becomes the current file and the cursor is positioned on 60071d4279SBram Moolenaar the start of the function. See ":help tag-commands". 61071d4279SBram Moolenaar 62071d4279SBram Moolenaar -q [errorfile] 63071d4279SBram Moolenaar Start in quickFix mode. The file [errorfile] is read and 64071d4279SBram Moolenaar the first error is displayed. If [errorfile] is omitted, 6506fe74aeSBram Moolenaar the filename is obtained from the 'errorfile' option (de‐ 6606fe74aeSBram Moolenaar faults to "AztecC.Err" for the Amiga, "errors.err" on other 6706fe74aeSBram Moolenaar systems). Further errors can be jumped to with the ":cn" 6806fe74aeSBram Moolenaar command. See ":help quickfix". 69071d4279SBram Moolenaar 7086ae720dSBram Moolenaar Vim behaves differently, depending on the name of the command (the exe‐ 71071d4279SBram Moolenaar cutable may still be the same file). 72071d4279SBram Moolenaar 73071d4279SBram Moolenaar vim The "normal" way, everything is default. 74071d4279SBram Moolenaar 75071d4279SBram Moolenaar ex Start in Ex mode. Go to Normal mode with the ":vi" command. 76071d4279SBram Moolenaar Can also be done with the "-e" argument. 77071d4279SBram Moolenaar 78071d4279SBram Moolenaar view Start in read-only mode. You will be protected from writing 79071d4279SBram Moolenaar the files. Can also be done with the "-R" argument. 80071d4279SBram Moolenaar 81071d4279SBram Moolenaar gvim gview 82071d4279SBram Moolenaar The GUI version. Starts a new window. Can also be done with 83071d4279SBram Moolenaar the "-g" argument. 84071d4279SBram Moolenaar 85071d4279SBram Moolenaar evim eview 86071d4279SBram Moolenaar The GUI version in easy mode. Starts a new window. Can also 87071d4279SBram Moolenaar be done with the "-y" argument. 88071d4279SBram Moolenaar 89071d4279SBram Moolenaar rvim rview rgvim rgview 9086ae720dSBram Moolenaar Like the above, but with restrictions. It will not be possi‐ 91071d4279SBram Moolenaar ble to start shell commands, or suspend Vim. Can also be 92071d4279SBram Moolenaar done with the "-Z" argument. 93071d4279SBram Moolenaar 94071d4279SBram MoolenaarOPTIONS 9506fe74aeSBram Moolenaar The options may be given in any order, before or after filenames. Op‐ 9606fe74aeSBram Moolenaar tions without an argument can be combined after a single dash. 97071d4279SBram Moolenaar 98071d4279SBram Moolenaar +[num] For the first file the cursor will be positioned on line 99071d4279SBram Moolenaar "num". If "num" is missing, the cursor will be positioned 100071d4279SBram Moolenaar on the last line. 101071d4279SBram Moolenaar 10286ae720dSBram Moolenaar +/{pat} For the first file the cursor will be positioned in the 10386ae720dSBram Moolenaar line with the first occurrence of {pat}. See ":help 10486ae720dSBram Moolenaar search-pattern" for the available search patterns. 105071d4279SBram Moolenaar 106071d4279SBram Moolenaar +{command} 107071d4279SBram Moolenaar 108071d4279SBram Moolenaar -c {command} 109071d4279SBram Moolenaar {command} will be executed after the first file has been 110071d4279SBram Moolenaar read. {command} is interpreted as an Ex command. If the 111071d4279SBram Moolenaar {command} contains spaces it must be enclosed in double 112071d4279SBram Moolenaar quotes (this depends on the shell that is used). Example: 1132547aa93SBram Moolenaar vim "+set si" main.c 114071d4279SBram Moolenaar Note: You can use up to 10 "+" or "-c" commands. 115071d4279SBram Moolenaar 116071d4279SBram Moolenaar -S {file} {file} will be sourced after the first file has been read. 117071d4279SBram Moolenaar This is equivalent to -c "source {file}". {file} cannot 118071d4279SBram Moolenaar start with '-'. If {file} is omitted "Session.vim" is used 119071d4279SBram Moolenaar (only works when -S is the last argument). 120071d4279SBram Moolenaar 121071d4279SBram Moolenaar --cmd {command} 122071d4279SBram Moolenaar Like using "-c", but the command is executed just before 123071d4279SBram Moolenaar processing any vimrc file. You can use up to 10 of these 124071d4279SBram Moolenaar commands, independently from "-c" commands. 125071d4279SBram Moolenaar 126071d4279SBram Moolenaar -A If Vim has been compiled with ARABIC support for editing 127071d4279SBram Moolenaar right-to-left oriented files and Arabic keyboard mapping, 128071d4279SBram Moolenaar this option starts Vim in Arabic mode, i.e. 'arabic' is 129071d4279SBram Moolenaar set. Otherwise an error message is given and Vim aborts. 130071d4279SBram Moolenaar 13186ae720dSBram Moolenaar -b Binary mode. A few options will be set that makes it pos‐ 132071d4279SBram Moolenaar sible to edit a binary or executable file. 133071d4279SBram Moolenaar 134071d4279SBram Moolenaar -C Compatible. Set the 'compatible' option. This will make 13506fe74aeSBram Moolenaar Vim behave mostly like Vi, even though a .vimrc file ex‐ 13606fe74aeSBram Moolenaar ists. 137071d4279SBram Moolenaar 138*2346a637SBram Moolenaar -d Start in diff mode. There should between two to eight file 139*2346a637SBram Moolenaar name arguments. Vim will open all the files and show dif‐ 140*2346a637SBram Moolenaar ferences between them. Works like vimdiff(1). 141071d4279SBram Moolenaar 142071d4279SBram Moolenaar -d {device} Open {device} for use as a terminal. Only on the Amiga. 143071d4279SBram Moolenaar Example: "-d con:20/30/600/150". 144071d4279SBram Moolenaar 145071d4279SBram Moolenaar -D Debugging. Go to debugging mode when executing the first 146071d4279SBram Moolenaar command from a script. 147071d4279SBram Moolenaar 148071d4279SBram Moolenaar -e Start Vim in Ex mode, just like the executable was called 149071d4279SBram Moolenaar "ex". 150071d4279SBram Moolenaar 151071d4279SBram Moolenaar -E Start Vim in improved Ex mode, just like the executable was 152071d4279SBram Moolenaar called "exim". 153071d4279SBram Moolenaar 15406fe74aeSBram Moolenaar -f Foreground. For the GUI version, Vim will not fork and de‐ 15506fe74aeSBram Moolenaar tach from the shell it was started in. On the Amiga, Vim 156071d4279SBram Moolenaar is not restarted to open a new window. This option should 157071d4279SBram Moolenaar be used when Vim is executed by a program that will wait 158071d4279SBram Moolenaar for the edit session to finish (e.g. mail). On the Amiga 159071d4279SBram Moolenaar the ":sh" and ":!" commands will not work. 160071d4279SBram Moolenaar 16106fe74aeSBram Moolenaar --nofork Foreground. For the GUI version, Vim will not fork and de‐ 16206fe74aeSBram Moolenaar tach from the shell it was started in. 163071d4279SBram Moolenaar 164071d4279SBram Moolenaar -F If Vim has been compiled with FKMAP support for editing 165071d4279SBram Moolenaar right-to-left oriented files and Farsi keyboard mapping, 166071d4279SBram Moolenaar this option starts Vim in Farsi mode, i.e. 'fkmap' and 167071d4279SBram Moolenaar 'rightleft' are set. Otherwise an error message is given 168071d4279SBram Moolenaar and Vim aborts. 169071d4279SBram Moolenaar 17006fe74aeSBram Moolenaar -g If Vim has been compiled with GUI support, this option en‐ 17106fe74aeSBram Moolenaar ables the GUI. If no GUI support was compiled in, an error 17206fe74aeSBram Moolenaar message is given and Vim aborts. 173071d4279SBram Moolenaar 17406fe74aeSBram Moolenaar -h Give a bit of help about the command line arguments and op‐ 17506fe74aeSBram Moolenaar tions. After this Vim exits. 176071d4279SBram Moolenaar 177071d4279SBram Moolenaar -H If Vim has been compiled with RIGHTLEFT support for editing 178071d4279SBram Moolenaar right-to-left oriented files and Hebrew keyboard mapping, 179071d4279SBram Moolenaar this option starts Vim in Hebrew mode, i.e. 'hkmap' and 180071d4279SBram Moolenaar 'rightleft' are set. Otherwise an error message is given 181071d4279SBram Moolenaar and Vim aborts. 182071d4279SBram Moolenaar 183071d4279SBram Moolenaar -i {viminfo} 18406fe74aeSBram Moolenaar Specifies the filename to use when reading or writing the 18506fe74aeSBram Moolenaar viminfo file, instead of the default "~/.viminfo". This 18606fe74aeSBram Moolenaar can also be used to skip the use of the .viminfo file, by 18706fe74aeSBram Moolenaar giving the name "NONE". 188071d4279SBram Moolenaar 189071d4279SBram Moolenaar -L Same as -r. 190071d4279SBram Moolenaar 191071d4279SBram Moolenaar -l Lisp mode. Sets the 'lisp' and 'showmatch' options on. 192071d4279SBram Moolenaar 193071d4279SBram Moolenaar -m Modifying files is disabled. Resets the 'write' option. 194071d4279SBram Moolenaar You can still modify the buffer, but writing a file is not 195071d4279SBram Moolenaar possible. 196071d4279SBram Moolenaar 197071d4279SBram Moolenaar -M Modifications not allowed. The 'modifiable' and 'write' 198071d4279SBram Moolenaar options will be unset, so that changes are not allowed and 199071d4279SBram Moolenaar files can not be written. Note that these options can be 200071d4279SBram Moolenaar set to enable making modifications. 201071d4279SBram Moolenaar 20206fe74aeSBram Moolenaar -N No-compatible mode. Resets the 'compatible' option. This 203071d4279SBram Moolenaar will make Vim behave a bit better, but less Vi compatible, 204071d4279SBram Moolenaar even though a .vimrc file does not exist. 205071d4279SBram Moolenaar 206071d4279SBram Moolenaar -n No swap file will be used. Recovery after a crash will be 207071d4279SBram Moolenaar impossible. Handy if you want to edit a file on a very 208071d4279SBram Moolenaar slow medium (e.g. floppy). Can also be done with ":set 209071d4279SBram Moolenaar uc=0". Can be undone with ":set uc=200". 210071d4279SBram Moolenaar 21106fe74aeSBram Moolenaar -nb Become an editor server for NetBeans. See the docs for de‐ 21206fe74aeSBram Moolenaar tails. 213071d4279SBram Moolenaar 214071d4279SBram Moolenaar -o[N] Open N windows stacked. When N is omitted, open one window 215071d4279SBram Moolenaar for each file. 216071d4279SBram Moolenaar 217071d4279SBram Moolenaar -O[N] Open N windows side by side. When N is omitted, open one 218071d4279SBram Moolenaar window for each file. 219071d4279SBram Moolenaar 2201a14c2ccSBram Moolenaar -p[N] Open N tab pages. When N is omitted, open one tab page for 2211a14c2ccSBram Moolenaar each file. 2221a14c2ccSBram Moolenaar 223071d4279SBram Moolenaar -R Read-only mode. The 'readonly' option will be set. You 22486ae720dSBram Moolenaar can still edit the buffer, but will be prevented from acci‐ 225e4a3bcf2SBram Moolenaar dentally overwriting a file. If you do want to overwrite a 226071d4279SBram Moolenaar file, add an exclamation mark to the Ex command, as in 227071d4279SBram Moolenaar ":w!". The -R option also implies the -n option (see 22824a98a0eSBram Moolenaar above). The 'readonly' option can be reset with ":set 229071d4279SBram Moolenaar noro". See ":help 'readonly'". 230071d4279SBram Moolenaar 23106fe74aeSBram Moolenaar -r List swap files, with information about using them for re‐ 23206fe74aeSBram Moolenaar covery. 233071d4279SBram Moolenaar 234071d4279SBram Moolenaar -r {file} Recovery mode. The swap file is used to recover a crashed 235071d4279SBram Moolenaar editing session. The swap file is a file with the same 236071d4279SBram Moolenaar filename as the text file with ".swp" appended. See ":help 237071d4279SBram Moolenaar recovery". 238071d4279SBram Moolenaar 239071d4279SBram Moolenaar -s Silent mode. Only when started as "Ex" or when the "-e" 240071d4279SBram Moolenaar option was given before the "-s" option. 241071d4279SBram Moolenaar 242071d4279SBram Moolenaar -s {scriptin} 243071d4279SBram Moolenaar The script file {scriptin} is read. The characters in the 244071d4279SBram Moolenaar file are interpreted as if you had typed them. The same 245071d4279SBram Moolenaar can be done with the command ":source! {scriptin}". If the 246071d4279SBram Moolenaar end of the file is reached before the editor exits, further 247071d4279SBram Moolenaar characters are read from the keyboard. 248071d4279SBram Moolenaar 249071d4279SBram Moolenaar -T {terminal} 25006fe74aeSBram Moolenaar Tells Vim the name of the terminal you are using. Only re‐ 25106fe74aeSBram Moolenaar quired when the automatic way doesn't work. Should be a 252071d4279SBram Moolenaar terminal known to Vim (builtin) or defined in the termcap 253071d4279SBram Moolenaar or terminfo file. 254071d4279SBram Moolenaar 255071d4279SBram Moolenaar -u {vimrc} Use the commands in the file {vimrc} for initializations. 256071d4279SBram Moolenaar All the other initializations are skipped. Use this to 257071d4279SBram Moolenaar edit a special kind of files. It can also be used to skip 258071d4279SBram Moolenaar all initializations by giving the name "NONE". See ":help 259071d4279SBram Moolenaar initialization" within vim for more details. 260071d4279SBram Moolenaar 26186ae720dSBram Moolenaar -U {gvimrc} Use the commands in the file {gvimrc} for GUI initializa‐ 262071d4279SBram Moolenaar tions. All the other GUI initializations are skipped. It 263071d4279SBram Moolenaar can also be used to skip all GUI initializations by giving 264071d4279SBram Moolenaar the name "NONE". See ":help gui-init" within vim for more 265071d4279SBram Moolenaar details. 266071d4279SBram Moolenaar 267071d4279SBram Moolenaar -V[N] Verbose. Give messages about which files are sourced and 26886ae720dSBram Moolenaar for reading and writing a viminfo file. The optional num‐ 269071d4279SBram Moolenaar ber N is the value for 'verbose'. Default is 10. 270071d4279SBram Moolenaar 271071d4279SBram Moolenaar -v Start Vim in Vi mode, just like the executable was called 272071d4279SBram Moolenaar "vi". This only has effect when the executable is called 273071d4279SBram Moolenaar "ex". 274071d4279SBram Moolenaar 275071d4279SBram Moolenaar -w {scriptout} 276071d4279SBram Moolenaar All the characters that you type are recorded in the file 277071d4279SBram Moolenaar {scriptout}, until you exit Vim. This is useful if you 278071d4279SBram Moolenaar want to create a script file to be used with "vim -s" or 279071d4279SBram Moolenaar ":source!". If the {scriptout} file exists, characters are 280071d4279SBram Moolenaar appended. 281071d4279SBram Moolenaar 282071d4279SBram Moolenaar -W {scriptout} 283071d4279SBram Moolenaar Like -w, but an existing file is overwritten. 284071d4279SBram Moolenaar 285293ee4d4SBram Moolenaar -x Use encryption when writing files. Will prompt for a crypt 286293ee4d4SBram Moolenaar key. 287071d4279SBram Moolenaar 288071d4279SBram Moolenaar -X Don't connect to the X server. Shortens startup time in a 289071d4279SBram Moolenaar terminal, but the window title and clipboard will not be 290071d4279SBram Moolenaar used. 291071d4279SBram Moolenaar 292071d4279SBram Moolenaar -y Start Vim in easy mode, just like the executable was called 293071d4279SBram Moolenaar "evim" or "eview". Makes Vim behave like a click-and-type 294071d4279SBram Moolenaar editor. 295071d4279SBram Moolenaar 296071d4279SBram Moolenaar -Z Restricted mode. Works like the executable starts with 297071d4279SBram Moolenaar "r". 298071d4279SBram Moolenaar 299071d4279SBram Moolenaar -- Denotes the end of the options. Arguments after this will 300071d4279SBram Moolenaar be handled as a file name. This can be used to edit a 301071d4279SBram Moolenaar filename that starts with a '-'. 302071d4279SBram Moolenaar 30356994d21SBram Moolenaar --clean Do not use any personal configuration (vimrc, plugins, 30456994d21SBram Moolenaar etc.). Useful to see if a problem reproduces with a clean 30556994d21SBram Moolenaar Vim setup. 30656994d21SBram Moolenaar 307293ee4d4SBram Moolenaar --echo-wid GTK GUI only: Echo the Window ID on stdout. 308071d4279SBram Moolenaar 309071d4279SBram Moolenaar --help Give a help message and exit, just like "-h". 310071d4279SBram Moolenaar 31186ae720dSBram Moolenaar --literal Take file name arguments literally, do not expand wild‐ 312293ee4d4SBram Moolenaar cards. This has no effect on Unix where the shell expands 313293ee4d4SBram Moolenaar wildcards. 314071d4279SBram Moolenaar 315071d4279SBram Moolenaar --noplugin Skip loading plugins. Implied by -u NONE. 316071d4279SBram Moolenaar 317071d4279SBram Moolenaar --remote Connect to a Vim server and make it edit the files given in 318071d4279SBram Moolenaar the rest of the arguments. If no server is found a warning 319071d4279SBram Moolenaar is given and the files are edited in the current Vim. 320071d4279SBram Moolenaar 321071d4279SBram Moolenaar --remote-expr {expr} 322071d4279SBram Moolenaar Connect to a Vim server, evaluate {expr} in it and print 323071d4279SBram Moolenaar the result on stdout. 324071d4279SBram Moolenaar 325071d4279SBram Moolenaar --remote-send {keys} 326071d4279SBram Moolenaar Connect to a Vim server and send {keys} to it. 327071d4279SBram Moolenaar 328071d4279SBram Moolenaar --remote-silent 329071d4279SBram Moolenaar As --remote, but without the warning when no server is 330071d4279SBram Moolenaar found. 331071d4279SBram Moolenaar 332071d4279SBram Moolenaar --remote-wait 333071d4279SBram Moolenaar As --remote, but Vim does not exit until the files have 334071d4279SBram Moolenaar been edited. 335071d4279SBram Moolenaar 336071d4279SBram Moolenaar --remote-wait-silent 337071d4279SBram Moolenaar As --remote-wait, but without the warning when no server is 338071d4279SBram Moolenaar found. 339071d4279SBram Moolenaar 340071d4279SBram Moolenaar --serverlist 341071d4279SBram Moolenaar List the names of all Vim servers that can be found. 342071d4279SBram Moolenaar 343071d4279SBram Moolenaar --servername {name} 344071d4279SBram Moolenaar Use {name} as the server name. Used for the current Vim, 345071d4279SBram Moolenaar unless used with a --remote argument, then it's the name of 346071d4279SBram Moolenaar the server to connect to. 347071d4279SBram Moolenaar 348071d4279SBram Moolenaar --socketid {id} 34906fe74aeSBram Moolenaar GTK GUI only: Use the GtkPlug mechanism to run gvim in an‐ 35006fe74aeSBram Moolenaar other window. 351071d4279SBram Moolenaar 3523132cdddSBram Moolenaar --startuptime {file} 3533132cdddSBram Moolenaar During startup write timing messages to the file {fname}. 3543132cdddSBram Moolenaar 355071d4279SBram Moolenaar --version Print version information and exit. 356071d4279SBram Moolenaar 357071d4279SBram MoolenaarON-LINE HELP 358071d4279SBram Moolenaar Type ":help" in Vim to get started. Type ":help subject" to get help 359071d4279SBram Moolenaar on a specific subject. For example: ":help ZZ" to get help for the 36086ae720dSBram Moolenaar "ZZ" command. Use <Tab> and CTRL-D to complete subjects (":help cmd‐ 361071d4279SBram Moolenaar line-completion"). Tags are present to jump from one place to another 362071d4279SBram Moolenaar (sort of hypertext links, see ":help"). All documentation files can be 363071d4279SBram Moolenaar viewed in this way, for example ":help syntax.txt". 364071d4279SBram Moolenaar 365071d4279SBram MoolenaarFILES 366071d4279SBram Moolenaar /usr/local/lib/vim/doc/*.txt 367071d4279SBram Moolenaar The Vim documentation files. Use ":help doc-file-list" 368071d4279SBram Moolenaar to get the complete list. 369071d4279SBram Moolenaar 370071d4279SBram Moolenaar /usr/local/lib/vim/doc/tags 37186ae720dSBram Moolenaar The tags file used for finding information in the docu‐ 372071d4279SBram Moolenaar mentation files. 373071d4279SBram Moolenaar 374071d4279SBram Moolenaar /usr/local/lib/vim/syntax/syntax.vim 375071d4279SBram Moolenaar System wide syntax initializations. 376071d4279SBram Moolenaar 377071d4279SBram Moolenaar /usr/local/lib/vim/syntax/*.vim 378071d4279SBram Moolenaar Syntax files for various languages. 379071d4279SBram Moolenaar 380071d4279SBram Moolenaar /usr/local/lib/vim/vimrc 381071d4279SBram Moolenaar System wide Vim initializations. 382071d4279SBram Moolenaar 38305159a0cSBram Moolenaar ~/.vimrc Your personal Vim initializations. 38405159a0cSBram Moolenaar 385071d4279SBram Moolenaar /usr/local/lib/vim/gvimrc 386071d4279SBram Moolenaar System wide gvim initializations. 387071d4279SBram Moolenaar 38805159a0cSBram Moolenaar ~/.gvimrc Your personal gvim initializations. 38905159a0cSBram Moolenaar 390071d4279SBram Moolenaar /usr/local/lib/vim/optwin.vim 391071d4279SBram Moolenaar Script used for the ":options" command, a nice way to 392071d4279SBram Moolenaar view and set options. 393071d4279SBram Moolenaar 394071d4279SBram Moolenaar /usr/local/lib/vim/menu.vim 395071d4279SBram Moolenaar System wide menu initializations for gvim. 396071d4279SBram Moolenaar 397071d4279SBram Moolenaar /usr/local/lib/vim/bugreport.vim 398071d4279SBram Moolenaar Script to generate a bug report. See ":help bugs". 399071d4279SBram Moolenaar 400071d4279SBram Moolenaar /usr/local/lib/vim/filetype.vim 401071d4279SBram Moolenaar Script to detect the type of a file by its name. See 402071d4279SBram Moolenaar ":help 'filetype'". 403071d4279SBram Moolenaar 404071d4279SBram Moolenaar /usr/local/lib/vim/scripts.vim 405071d4279SBram Moolenaar Script to detect the type of a file by its contents. 406071d4279SBram Moolenaar See ":help 'filetype'". 407071d4279SBram Moolenaar 408e37d50a5SBram Moolenaar /usr/local/lib/vim/print/*.ps 409071d4279SBram Moolenaar Files used for PostScript printing. 410071d4279SBram Moolenaar 411071d4279SBram Moolenaar For recent info read the VIM home page: 412071d4279SBram Moolenaar <URL:http://www.vim.org/> 413071d4279SBram Moolenaar 414071d4279SBram MoolenaarSEE ALSO 415071d4279SBram Moolenaar vimtutor(1) 416071d4279SBram Moolenaar 417071d4279SBram MoolenaarAUTHOR 418071d4279SBram Moolenaar Most of Vim was made by Bram Moolenaar, with a lot of help from others. 419071d4279SBram Moolenaar See ":help credits" in Vim. 420071d4279SBram Moolenaar Vim is based on Stevie, worked on by: Tim Thompson, Tony Andrews and 421071d4279SBram Moolenaar G.R. (Fred) Walter. Although hardly any of the original code remains. 422071d4279SBram Moolenaar 423071d4279SBram MoolenaarBUGS 424071d4279SBram Moolenaar Probably. See ":help todo" for a list of known problems. 425071d4279SBram Moolenaar 426071d4279SBram Moolenaar Note that a number of things that may be regarded as bugs by some, are 427071d4279SBram Moolenaar in fact caused by a too-faithful reproduction of Vi's behaviour. And 428071d4279SBram Moolenaar if you think other things are bugs "because Vi does it differently", 429071d4279SBram Moolenaar you should take a closer look at the vi_diff.txt file (or type :help 430071d4279SBram Moolenaar vi_diff.txt when in Vim). Also have a look at the 'compatible' and 431071d4279SBram Moolenaar 'cpoptions' options. 432071d4279SBram Moolenaar 433071d4279SBram Moolenaar 434071d4279SBram Moolenaar 4354c3f536fSBram Moolenaar 2006 Apr 11 VIM(1) 436