annotate runtime/doc/vim.man @ 31277:68d13970fe8b v9.0.0972

patch 9.0.0972: build failure on some systems Commit: https://github.com/vim/vim/commit/4e6072b8d3e7ad85d2ca010c9172c2bdcdc62f44 Author: Bram Moolenaar <Bram@vim.org> Date: Tue Nov 29 16:09:18 2022 +0000 patch 9.0.0972: build failure on some systems Problem: Build failure on some systems. Solution: Adjust #ifdefs related to the termresponse feature.
author Bram Moolenaar <Bram@vim.org>
date Tue, 29 Nov 2022 17:15:03 +0100
parents 3649b5a6b1b6
children a73a934e173b
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
6918
2def7b25de60 Updated runtime files.
Bram Moolenaar <bram@vim.org>
parents: 1698
diff changeset
1 VIM(1) General Commands Manual VIM(1)
7
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
2
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
3
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
4
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
5 NAME
12254
8d76a56861ec Update runtime files
Christian Brabandt <cb@256bit.org>
parents: 9975
diff changeset
6 vim - Vi IMproved, a programmer's text editor
7
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
7
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
8 SYNOPSIS
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
9 vim [options] [file ..]
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
10 vim [options] -
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
11 vim [options] -t tag
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
12 vim [options] -q [errorfile]
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
13
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
14 ex
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
15 view
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
16 gvim gview evim eview
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
17 rvim rview rgvim rgview
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
18
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
19 DESCRIPTION
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
20 Vim is a text editor that is upwards compatible to Vi. It can be used
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
21 to edit all kinds of plain text. It is especially useful for editing
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
22 programs.
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
23
6918
2def7b25de60 Updated runtime files.
Bram Moolenaar <bram@vim.org>
parents: 1698
diff changeset
24 There are a lot of enhancements above Vi: multi level undo, multi win‐
7
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
25 dows and buffers, syntax highlighting, command line editing, filename
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
26 completion, on-line help, visual selection, etc.. See ":help
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
27 vi_diff.txt" for a summary of the differences between Vim and Vi.
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
28
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
29 While running Vim a lot of help can be obtained from the on-line help
6918
2def7b25de60 Updated runtime files.
Bram Moolenaar <bram@vim.org>
parents: 1698
diff changeset
30 system, with the ":help" command. See the ON-LINE HELP section below.
7
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
31
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
32 Most often Vim is started to edit a single file with the command
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
33
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
34 vim file
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
35
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
36 More generally Vim is started with:
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
37
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
38 vim [options] [filelist]
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
39
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
40 If the filelist is missing, the editor will start with an empty buffer.
6918
2def7b25de60 Updated runtime files.
Bram Moolenaar <bram@vim.org>
parents: 1698
diff changeset
41 Otherwise exactly one out of the following four may be used to choose
7
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
42 one or more files to be edited.
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
43
6918
2def7b25de60 Updated runtime files.
Bram Moolenaar <bram@vim.org>
parents: 1698
diff changeset
44 file .. A list of filenames. The first one will be the current
2def7b25de60 Updated runtime files.
Bram Moolenaar <bram@vim.org>
parents: 1698
diff changeset
45 file and read into the buffer. The cursor will be posi‐
7
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
46 tioned on the first line of the buffer. You can get to the
6918
2def7b25de60 Updated runtime files.
Bram Moolenaar <bram@vim.org>
parents: 1698
diff changeset
47 other files with the ":next" command. To edit a file that
7
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
48 starts with a dash, precede the filelist with "--".
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
49
6918
2def7b25de60 Updated runtime files.
Bram Moolenaar <bram@vim.org>
parents: 1698
diff changeset
50 - The file to edit is read from stdin. Commands are read
7
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
51 from stderr, which should be a tty.
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
52
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
53 -t {tag} The file to edit and the initial cursor position depends on
6918
2def7b25de60 Updated runtime files.
Bram Moolenaar <bram@vim.org>
parents: 1698
diff changeset
54 a "tag", a sort of goto label. {tag} is looked up in the
7
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
55 tags file, the associated file becomes the current file and
6918
2def7b25de60 Updated runtime files.
Bram Moolenaar <bram@vim.org>
parents: 1698
diff changeset
56 the associated command is executed. Mostly this is used
2def7b25de60 Updated runtime files.
Bram Moolenaar <bram@vim.org>
parents: 1698
diff changeset
57 for C programs, in which case {tag} could be a function
7
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
58 name. The effect is that the file containing that function
6918
2def7b25de60 Updated runtime files.
Bram Moolenaar <bram@vim.org>
parents: 1698
diff changeset
59 becomes the current file and the cursor is positioned on
7
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
60 the start of the function. See ":help tag-commands".
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
61
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
62 -q [errorfile]
6918
2def7b25de60 Updated runtime files.
Bram Moolenaar <bram@vim.org>
parents: 1698
diff changeset
63 Start in quickFix mode. The file [errorfile] is read and
2def7b25de60 Updated runtime files.
Bram Moolenaar <bram@vim.org>
parents: 1698
diff changeset
64 the first error is displayed. If [errorfile] is omitted,
17909
cc953757ed2a Runtime files update.
Bram Moolenaar <Bram@vim.org>
parents: 12559
diff changeset
65 the filename is obtained from the 'errorfile' option (de‐
cc953757ed2a Runtime files update.
Bram Moolenaar <Bram@vim.org>
parents: 12559
diff changeset
66 faults to "AztecC.Err" for the Amiga, "errors.err" on other
cc953757ed2a Runtime files update.
Bram Moolenaar <Bram@vim.org>
parents: 12559
diff changeset
67 systems). Further errors can be jumped to with the ":cn"
cc953757ed2a Runtime files update.
Bram Moolenaar <Bram@vim.org>
parents: 12559
diff changeset
68 command. See ":help quickfix".
7
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
69
6918
2def7b25de60 Updated runtime files.
Bram Moolenaar <bram@vim.org>
parents: 1698
diff changeset
70 Vim behaves differently, depending on the name of the command (the exe‐
7
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
71 cutable may still be the same file).
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
72
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
73 vim The "normal" way, everything is default.
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
74
6918
2def7b25de60 Updated runtime files.
Bram Moolenaar <bram@vim.org>
parents: 1698
diff changeset
75 ex Start in Ex mode. Go to Normal mode with the ":vi" command.
7
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
76 Can also be done with the "-e" argument.
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
77
6918
2def7b25de60 Updated runtime files.
Bram Moolenaar <bram@vim.org>
parents: 1698
diff changeset
78 view Start in read-only mode. You will be protected from writing
7
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
79 the files. Can also be done with the "-R" argument.
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
80
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
81 gvim gview
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
82 The GUI version. Starts a new window. Can also be done with
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
83 the "-g" argument.
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
84
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
85 evim eview
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
86 The GUI version in easy mode. Starts a new window. Can also
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
87 be done with the "-y" argument.
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
88
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
89 rvim rview rgvim rgview
6918
2def7b25de60 Updated runtime files.
Bram Moolenaar <bram@vim.org>
parents: 1698
diff changeset
90 Like the above, but with restrictions. It will not be possi‐
2def7b25de60 Updated runtime files.
Bram Moolenaar <bram@vim.org>
parents: 1698
diff changeset
91 ble to start shell commands, or suspend Vim. Can also be
7
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
92 done with the "-Z" argument.
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
93
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
94 OPTIONS
17909
cc953757ed2a Runtime files update.
Bram Moolenaar <Bram@vim.org>
parents: 12559
diff changeset
95 The options may be given in any order, before or after filenames. Op‐
cc953757ed2a Runtime files update.
Bram Moolenaar <Bram@vim.org>
parents: 12559
diff changeset
96 tions without an argument can be combined after a single dash.
7
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
97
6918
2def7b25de60 Updated runtime files.
Bram Moolenaar <bram@vim.org>
parents: 1698
diff changeset
98 +[num] For the first file the cursor will be positioned on line
2def7b25de60 Updated runtime files.
Bram Moolenaar <bram@vim.org>
parents: 1698
diff changeset
99 "num". If "num" is missing, the cursor will be positioned
7
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
100 on the last line.
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
101
6918
2def7b25de60 Updated runtime files.
Bram Moolenaar <bram@vim.org>
parents: 1698
diff changeset
102 +/{pat} For the first file the cursor will be positioned in the
2def7b25de60 Updated runtime files.
Bram Moolenaar <bram@vim.org>
parents: 1698
diff changeset
103 line with the first occurrence of {pat}. See ":help
2def7b25de60 Updated runtime files.
Bram Moolenaar <bram@vim.org>
parents: 1698
diff changeset
104 search-pattern" for the available search patterns.
7
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
105
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
106 +{command}
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
107
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
108 -c {command}
6918
2def7b25de60 Updated runtime files.
Bram Moolenaar <bram@vim.org>
parents: 1698
diff changeset
109 {command} will be executed after the first file has been
2def7b25de60 Updated runtime files.
Bram Moolenaar <bram@vim.org>
parents: 1698
diff changeset
110 read. {command} is interpreted as an Ex command. If the
2def7b25de60 Updated runtime files.
Bram Moolenaar <bram@vim.org>
parents: 1698
diff changeset
111 {command} contains spaces it must be enclosed in double
2def7b25de60 Updated runtime files.
Bram Moolenaar <bram@vim.org>
parents: 1698
diff changeset
112 quotes (this depends on the shell that is used). Example:
21499
3a1ed539ae2a Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents: 17909
diff changeset
113 vim "+set si" main.c
7
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
114 Note: You can use up to 10 "+" or "-c" commands.
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
115
6918
2def7b25de60 Updated runtime files.
Bram Moolenaar <bram@vim.org>
parents: 1698
diff changeset
116 -S {file} {file} will be sourced after the first file has been read.
2def7b25de60 Updated runtime files.
Bram Moolenaar <bram@vim.org>
parents: 1698
diff changeset
117 This is equivalent to -c "source {file}". {file} cannot
7
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
118 start with '-'. If {file} is omitted "Session.vim" is used
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
119 (only works when -S is the last argument).
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
120
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
121 --cmd {command}
6918
2def7b25de60 Updated runtime files.
Bram Moolenaar <bram@vim.org>
parents: 1698
diff changeset
122 Like using "-c", but the command is executed just before
2def7b25de60 Updated runtime files.
Bram Moolenaar <bram@vim.org>
parents: 1698
diff changeset
123 processing any vimrc file. You can use up to 10 of these
7
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
124 commands, independently from "-c" commands.
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
125
6918
2def7b25de60 Updated runtime files.
Bram Moolenaar <bram@vim.org>
parents: 1698
diff changeset
126 -A If Vim has been compiled with ARABIC support for editing
2def7b25de60 Updated runtime files.
Bram Moolenaar <bram@vim.org>
parents: 1698
diff changeset
127 right-to-left oriented files and Arabic keyboard mapping,
2def7b25de60 Updated runtime files.
Bram Moolenaar <bram@vim.org>
parents: 1698
diff changeset
128 this option starts Vim in Arabic mode, i.e. 'arabic' is
7
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
129 set. Otherwise an error message is given and Vim aborts.
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
130
6918
2def7b25de60 Updated runtime files.
Bram Moolenaar <bram@vim.org>
parents: 1698
diff changeset
131 -b Binary mode. A few options will be set that makes it pos‐
7
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
132 sible to edit a binary or executable file.
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
133
6918
2def7b25de60 Updated runtime files.
Bram Moolenaar <bram@vim.org>
parents: 1698
diff changeset
134 -C Compatible. Set the 'compatible' option. This will make
17909
cc953757ed2a Runtime files update.
Bram Moolenaar <Bram@vim.org>
parents: 12559
diff changeset
135 Vim behave mostly like Vi, even though a .vimrc file ex‐
cc953757ed2a Runtime files update.
Bram Moolenaar <Bram@vim.org>
parents: 12559
diff changeset
136 ists.
7
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
137
24911
fd37be6dc258 Update runtime files
Bram Moolenaar <Bram@vim.org>
parents: 24468
diff changeset
138 -d Start in diff mode. There should between two to eight file
fd37be6dc258 Update runtime files
Bram Moolenaar <Bram@vim.org>
parents: 24468
diff changeset
139 name arguments. Vim will open all the files and show dif‐
fd37be6dc258 Update runtime files
Bram Moolenaar <Bram@vim.org>
parents: 24468
diff changeset
140 ferences between them. Works like vimdiff(1).
7
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
141
6918
2def7b25de60 Updated runtime files.
Bram Moolenaar <bram@vim.org>
parents: 1698
diff changeset
142 -d {device} Open {device} for use as a terminal. Only on the Amiga.
7
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
143 Example: "-d con:20/30/600/150".
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
144
6918
2def7b25de60 Updated runtime files.
Bram Moolenaar <bram@vim.org>
parents: 1698
diff changeset
145 -D Debugging. Go to debugging mode when executing the first
7
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
146 command from a script.
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
147
6918
2def7b25de60 Updated runtime files.
Bram Moolenaar <bram@vim.org>
parents: 1698
diff changeset
148 -e Start Vim in Ex mode, just like the executable was called
7
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
149 "ex".
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
150
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
151 -E Start Vim in improved Ex mode, just like the executable was
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
152 called "exim".
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
153
17909
cc953757ed2a Runtime files update.
Bram Moolenaar <Bram@vim.org>
parents: 12559
diff changeset
154 -f Foreground. For the GUI version, Vim will not fork and de‐
cc953757ed2a Runtime files update.
Bram Moolenaar <Bram@vim.org>
parents: 12559
diff changeset
155 tach from the shell it was started in. On the Amiga, Vim
6918
2def7b25de60 Updated runtime files.
Bram Moolenaar <bram@vim.org>
parents: 1698
diff changeset
156 is not restarted to open a new window. This option should
2def7b25de60 Updated runtime files.
Bram Moolenaar <bram@vim.org>
parents: 1698
diff changeset
157 be used when Vim is executed by a program that will wait
2def7b25de60 Updated runtime files.
Bram Moolenaar <bram@vim.org>
parents: 1698
diff changeset
158 for the edit session to finish (e.g. mail). On the Amiga
7
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
159 the ":sh" and ":!" commands will not work.
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
160
17909
cc953757ed2a Runtime files update.
Bram Moolenaar <Bram@vim.org>
parents: 12559
diff changeset
161 --nofork Foreground. For the GUI version, Vim will not fork and de‐
cc953757ed2a Runtime files update.
Bram Moolenaar <Bram@vim.org>
parents: 12559
diff changeset
162 tach from the shell it was started in.
7
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
163
6918
2def7b25de60 Updated runtime files.
Bram Moolenaar <bram@vim.org>
parents: 1698
diff changeset
164 -F If Vim has been compiled with FKMAP support for editing
2def7b25de60 Updated runtime files.
Bram Moolenaar <bram@vim.org>
parents: 1698
diff changeset
165 right-to-left oriented files and Farsi keyboard mapping,
2def7b25de60 Updated runtime files.
Bram Moolenaar <bram@vim.org>
parents: 1698
diff changeset
166 this option starts Vim in Farsi mode, i.e. 'fkmap' and
2def7b25de60 Updated runtime files.
Bram Moolenaar <bram@vim.org>
parents: 1698
diff changeset
167 'rightleft' are set. Otherwise an error message is given
2def7b25de60 Updated runtime files.
Bram Moolenaar <bram@vim.org>
parents: 1698
diff changeset
168 and Vim aborts.
2def7b25de60 Updated runtime files.
Bram Moolenaar <bram@vim.org>
parents: 1698
diff changeset
169
17909
cc953757ed2a Runtime files update.
Bram Moolenaar <Bram@vim.org>
parents: 12559
diff changeset
170 -g If Vim has been compiled with GUI support, this option en‐
cc953757ed2a Runtime files update.
Bram Moolenaar <Bram@vim.org>
parents: 12559
diff changeset
171 ables the GUI. If no GUI support was compiled in, an error
cc953757ed2a Runtime files update.
Bram Moolenaar <Bram@vim.org>
parents: 12559
diff changeset
172 message is given and Vim aborts.
6918
2def7b25de60 Updated runtime files.
Bram Moolenaar <bram@vim.org>
parents: 1698
diff changeset
173
17909
cc953757ed2a Runtime files update.
Bram Moolenaar <Bram@vim.org>
parents: 12559
diff changeset
174 -h Give a bit of help about the command line arguments and op‐
cc953757ed2a Runtime files update.
Bram Moolenaar <Bram@vim.org>
parents: 12559
diff changeset
175 tions. After this Vim exits.
6918
2def7b25de60 Updated runtime files.
Bram Moolenaar <bram@vim.org>
parents: 1698
diff changeset
176
2def7b25de60 Updated runtime files.
Bram Moolenaar <bram@vim.org>
parents: 1698
diff changeset
177 -H If Vim has been compiled with RIGHTLEFT support for editing
2def7b25de60 Updated runtime files.
Bram Moolenaar <bram@vim.org>
parents: 1698
diff changeset
178 right-to-left oriented files and Hebrew keyboard mapping,
2def7b25de60 Updated runtime files.
Bram Moolenaar <bram@vim.org>
parents: 1698
diff changeset
179 this option starts Vim in Hebrew mode, i.e. 'hkmap' and
7
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
180 'rightleft' are set. Otherwise an error message is given
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
181 and Vim aborts.
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
182
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
183 -i {viminfo}
17909
cc953757ed2a Runtime files update.
Bram Moolenaar <Bram@vim.org>
parents: 12559
diff changeset
184 Specifies the filename to use when reading or writing the
cc953757ed2a Runtime files update.
Bram Moolenaar <Bram@vim.org>
parents: 12559
diff changeset
185 viminfo file, instead of the default "~/.viminfo". This
cc953757ed2a Runtime files update.
Bram Moolenaar <Bram@vim.org>
parents: 12559
diff changeset
186 can also be used to skip the use of the .viminfo file, by
cc953757ed2a Runtime files update.
Bram Moolenaar <Bram@vim.org>
parents: 12559
diff changeset
187 giving the name "NONE".
7
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
188
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
189 -L Same as -r.
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
190
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
191 -l Lisp mode. Sets the 'lisp' and 'showmatch' options on.
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
192
6918
2def7b25de60 Updated runtime files.
Bram Moolenaar <bram@vim.org>
parents: 1698
diff changeset
193 -m Modifying files is disabled. Resets the 'write' option.
2def7b25de60 Updated runtime files.
Bram Moolenaar <bram@vim.org>
parents: 1698
diff changeset
194 You can still modify the buffer, but writing a file is not
7
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
195 possible.
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
196
6918
2def7b25de60 Updated runtime files.
Bram Moolenaar <bram@vim.org>
parents: 1698
diff changeset
197 -M Modifications not allowed. The 'modifiable' and 'write'
2def7b25de60 Updated runtime files.
Bram Moolenaar <bram@vim.org>
parents: 1698
diff changeset
198 options will be unset, so that changes are not allowed and
2def7b25de60 Updated runtime files.
Bram Moolenaar <bram@vim.org>
parents: 1698
diff changeset
199 files can not be written. Note that these options can be
7
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
200 set to enable making modifications.
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
201
17909
cc953757ed2a Runtime files update.
Bram Moolenaar <Bram@vim.org>
parents: 12559
diff changeset
202 -N No-compatible mode. Resets the 'compatible' option. This
6918
2def7b25de60 Updated runtime files.
Bram Moolenaar <bram@vim.org>
parents: 1698
diff changeset
203 will make Vim behave a bit better, but less Vi compatible,
7
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
204 even though a .vimrc file does not exist.
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
205
6918
2def7b25de60 Updated runtime files.
Bram Moolenaar <bram@vim.org>
parents: 1698
diff changeset
206 -n No swap file will be used. Recovery after a crash will be
2def7b25de60 Updated runtime files.
Bram Moolenaar <bram@vim.org>
parents: 1698
diff changeset
207 impossible. Handy if you want to edit a file on a very
2def7b25de60 Updated runtime files.
Bram Moolenaar <bram@vim.org>
parents: 1698
diff changeset
208 slow medium (e.g. floppy). Can also be done with ":set
7
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
209 uc=0". Can be undone with ":set uc=200".
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
210
17909
cc953757ed2a Runtime files update.
Bram Moolenaar <Bram@vim.org>
parents: 12559
diff changeset
211 -nb Become an editor server for NetBeans. See the docs for de‐
cc953757ed2a Runtime files update.
Bram Moolenaar <Bram@vim.org>
parents: 12559
diff changeset
212 tails.
7
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
213
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
214 -o[N] Open N windows stacked. When N is omitted, open one window
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
215 for each file.
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
216
6918
2def7b25de60 Updated runtime files.
Bram Moolenaar <bram@vim.org>
parents: 1698
diff changeset
217 -O[N] Open N windows side by side. When N is omitted, open one
7
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
218 window for each file.
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
219
803
dc38b8b94a55 updated for version 7.0b01
vimboss
parents: 170
diff changeset
220 -p[N] Open N tab pages. When N is omitted, open one tab page for
dc38b8b94a55 updated for version 7.0b01
vimboss
parents: 170
diff changeset
221 each file.
dc38b8b94a55 updated for version 7.0b01
vimboss
parents: 170
diff changeset
222
6918
2def7b25de60 Updated runtime files.
Bram Moolenaar <bram@vim.org>
parents: 1698
diff changeset
223 -R Read-only mode. The 'readonly' option will be set. You
2def7b25de60 Updated runtime files.
Bram Moolenaar <bram@vim.org>
parents: 1698
diff changeset
224 can still edit the buffer, but will be prevented from acci‐
9975
03fa8a51e9dc commit https://github.com/vim/vim/commit/e4a3bcf28d92d0bde9ca227ccb40d401038185e5
Christian Brabandt <cb@256bit.org>
parents: 6918
diff changeset
225 dentally overwriting a file. If you do want to overwrite a
6918
2def7b25de60 Updated runtime files.
Bram Moolenaar <bram@vim.org>
parents: 1698
diff changeset
226 file, add an exclamation mark to the Ex command, as in
2def7b25de60 Updated runtime files.
Bram Moolenaar <bram@vim.org>
parents: 1698
diff changeset
227 ":w!". The -R option also implies the -n option (see
12559
34c8ec888122 Update runtime files
Christian Brabandt <cb@256bit.org>
parents: 12254
diff changeset
228 above). The 'readonly' option can be reset with ":set
7
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
229 noro". See ":help 'readonly'".
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
230
17909
cc953757ed2a Runtime files update.
Bram Moolenaar <Bram@vim.org>
parents: 12559
diff changeset
231 -r List swap files, with information about using them for re‐
cc953757ed2a Runtime files update.
Bram Moolenaar <Bram@vim.org>
parents: 12559
diff changeset
232 covery.
7
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
233
6918
2def7b25de60 Updated runtime files.
Bram Moolenaar <bram@vim.org>
parents: 1698
diff changeset
234 -r {file} Recovery mode. The swap file is used to recover a crashed
2def7b25de60 Updated runtime files.
Bram Moolenaar <bram@vim.org>
parents: 1698
diff changeset
235 editing session. The swap file is a file with the same
7
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
236 filename as the text file with ".swp" appended. See ":help
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
237 recovery".
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
238
6918
2def7b25de60 Updated runtime files.
Bram Moolenaar <bram@vim.org>
parents: 1698
diff changeset
239 -s Silent mode. Only when started as "Ex" or when the "-e"
7
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
240 option was given before the "-s" option.
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
241
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
242 -s {scriptin}
6918
2def7b25de60 Updated runtime files.
Bram Moolenaar <bram@vim.org>
parents: 1698
diff changeset
243 The script file {scriptin} is read. The characters in the
2def7b25de60 Updated runtime files.
Bram Moolenaar <bram@vim.org>
parents: 1698
diff changeset
244 file are interpreted as if you had typed them. The same
7
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
245 can be done with the command ":source! {scriptin}". If the
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
246 end of the file is reached before the editor exits, further
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
247 characters are read from the keyboard.
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
248
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
249 -T {terminal}
17909
cc953757ed2a Runtime files update.
Bram Moolenaar <Bram@vim.org>
parents: 12559
diff changeset
250 Tells Vim the name of the terminal you are using. Only re‐
cc953757ed2a Runtime files update.
Bram Moolenaar <Bram@vim.org>
parents: 12559
diff changeset
251 quired when the automatic way doesn't work. Should be a
6918
2def7b25de60 Updated runtime files.
Bram Moolenaar <bram@vim.org>
parents: 1698
diff changeset
252 terminal known to Vim (builtin) or defined in the termcap
7
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
253 or terminfo file.
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
254
6918
2def7b25de60 Updated runtime files.
Bram Moolenaar <bram@vim.org>
parents: 1698
diff changeset
255 -u {vimrc} Use the commands in the file {vimrc} for initializations.
2def7b25de60 Updated runtime files.
Bram Moolenaar <bram@vim.org>
parents: 1698
diff changeset
256 All the other initializations are skipped. Use this to
2def7b25de60 Updated runtime files.
Bram Moolenaar <bram@vim.org>
parents: 1698
diff changeset
257 edit a special kind of files. It can also be used to skip
2def7b25de60 Updated runtime files.
Bram Moolenaar <bram@vim.org>
parents: 1698
diff changeset
258 all initializations by giving the name "NONE". See ":help
7
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
259 initialization" within vim for more details.
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
260
6918
2def7b25de60 Updated runtime files.
Bram Moolenaar <bram@vim.org>
parents: 1698
diff changeset
261 -U {gvimrc} Use the commands in the file {gvimrc} for GUI initializa‐
2def7b25de60 Updated runtime files.
Bram Moolenaar <bram@vim.org>
parents: 1698
diff changeset
262 tions. All the other GUI initializations are skipped. It
2def7b25de60 Updated runtime files.
Bram Moolenaar <bram@vim.org>
parents: 1698
diff changeset
263 can also be used to skip all GUI initializations by giving
2def7b25de60 Updated runtime files.
Bram Moolenaar <bram@vim.org>
parents: 1698
diff changeset
264 the name "NONE". See ":help gui-init" within vim for more
7
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
265 details.
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
266
6918
2def7b25de60 Updated runtime files.
Bram Moolenaar <bram@vim.org>
parents: 1698
diff changeset
267 -V[N] Verbose. Give messages about which files are sourced and
2def7b25de60 Updated runtime files.
Bram Moolenaar <bram@vim.org>
parents: 1698
diff changeset
268 for reading and writing a viminfo file. The optional num‐
7
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
269 ber N is the value for 'verbose'. Default is 10.
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
270
6918
2def7b25de60 Updated runtime files.
Bram Moolenaar <bram@vim.org>
parents: 1698
diff changeset
271 -v Start Vim in Vi mode, just like the executable was called
2def7b25de60 Updated runtime files.
Bram Moolenaar <bram@vim.org>
parents: 1698
diff changeset
272 "vi". This only has effect when the executable is called
7
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
273 "ex".
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
274
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
275 -w {scriptout}
6918
2def7b25de60 Updated runtime files.
Bram Moolenaar <bram@vim.org>
parents: 1698
diff changeset
276 All the characters that you type are recorded in the file
2def7b25de60 Updated runtime files.
Bram Moolenaar <bram@vim.org>
parents: 1698
diff changeset
277 {scriptout}, until you exit Vim. This is useful if you
2def7b25de60 Updated runtime files.
Bram Moolenaar <bram@vim.org>
parents: 1698
diff changeset
278 want to create a script file to be used with "vim -s" or
7
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
279 ":source!". If the {scriptout} file exists, characters are
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
280 appended.
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
281
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
282 -W {scriptout}
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
283 Like -w, but an existing file is overwritten.
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
284
36
125e80798a85 updated for version 7.0021
vimboss
parents: 7
diff changeset
285 -x Use encryption when writing files. Will prompt for a crypt
125e80798a85 updated for version 7.0021
vimboss
parents: 7
diff changeset
286 key.
7
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
287
6918
2def7b25de60 Updated runtime files.
Bram Moolenaar <bram@vim.org>
parents: 1698
diff changeset
288 -X Don't connect to the X server. Shortens startup time in a
2def7b25de60 Updated runtime files.
Bram Moolenaar <bram@vim.org>
parents: 1698
diff changeset
289 terminal, but the window title and clipboard will not be
7
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
290 used.
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
291
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
292 -y Start Vim in easy mode, just like the executable was called
6918
2def7b25de60 Updated runtime files.
Bram Moolenaar <bram@vim.org>
parents: 1698
diff changeset
293 "evim" or "eview". Makes Vim behave like a click-and-type
7
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
294 editor.
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
295
6918
2def7b25de60 Updated runtime files.
Bram Moolenaar <bram@vim.org>
parents: 1698
diff changeset
296 -Z Restricted mode. Works like the executable starts with
7
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
297 "r".
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
298
6918
2def7b25de60 Updated runtime files.
Bram Moolenaar <bram@vim.org>
parents: 1698
diff changeset
299 -- Denotes the end of the options. Arguments after this will
2def7b25de60 Updated runtime files.
Bram Moolenaar <bram@vim.org>
parents: 1698
diff changeset
300 be handled as a file name. This can be used to edit a
7
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
301 filename that starts with a '-'.
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
302
24468
9f41bfdbc6fc Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents: 22824
diff changeset
303 --clean Do not use any personal configuration (vimrc, plugins,
9f41bfdbc6fc Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents: 22824
diff changeset
304 etc.). Useful to see if a problem reproduces with a clean
9f41bfdbc6fc Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents: 22824
diff changeset
305 Vim setup.
9f41bfdbc6fc Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents: 22824
diff changeset
306
36
125e80798a85 updated for version 7.0021
vimboss
parents: 7
diff changeset
307 --echo-wid GTK GUI only: Echo the Window ID on stdout.
7
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
308
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
309 --help Give a help message and exit, just like "-h".
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
310
6918
2def7b25de60 Updated runtime files.
Bram Moolenaar <bram@vim.org>
parents: 1698
diff changeset
311 --literal Take file name arguments literally, do not expand wild‐
2def7b25de60 Updated runtime files.
Bram Moolenaar <bram@vim.org>
parents: 1698
diff changeset
312 cards. This has no effect on Unix where the shell expands
36
125e80798a85 updated for version 7.0021
vimboss
parents: 7
diff changeset
313 wildcards.
7
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
314
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
315 --noplugin Skip loading plugins. Implied by -u NONE.
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
316
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
317 --remote Connect to a Vim server and make it edit the files given in
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
318 the rest of the arguments. If no server is found a warning
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
319 is given and the files are edited in the current Vim.
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
320
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
321 --remote-expr {expr}
6918
2def7b25de60 Updated runtime files.
Bram Moolenaar <bram@vim.org>
parents: 1698
diff changeset
322 Connect to a Vim server, evaluate {expr} in it and print
7
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
323 the result on stdout.
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
324
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
325 --remote-send {keys}
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
326 Connect to a Vim server and send {keys} to it.
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
327
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
328 --remote-silent
6918
2def7b25de60 Updated runtime files.
Bram Moolenaar <bram@vim.org>
parents: 1698
diff changeset
329 As --remote, but without the warning when no server is
7
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
330 found.
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
331
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
332 --remote-wait
6918
2def7b25de60 Updated runtime files.
Bram Moolenaar <bram@vim.org>
parents: 1698
diff changeset
333 As --remote, but Vim does not exit until the files have
7
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
334 been edited.
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
335
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
336 --remote-wait-silent
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
337 As --remote-wait, but without the warning when no server is
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
338 found.
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
339
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
340 --serverlist
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
341 List the names of all Vim servers that can be found.
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
342
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
343 --servername {name}
6918
2def7b25de60 Updated runtime files.
Bram Moolenaar <bram@vim.org>
parents: 1698
diff changeset
344 Use {name} as the server name. Used for the current Vim,
7
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
345 unless used with a --remote argument, then it's the name of
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
346 the server to connect to.
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
347
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
348 --socketid {id}
17909
cc953757ed2a Runtime files update.
Bram Moolenaar <Bram@vim.org>
parents: 12559
diff changeset
349 GTK GUI only: Use the GtkPlug mechanism to run gvim in an‐
cc953757ed2a Runtime files update.
Bram Moolenaar <Bram@vim.org>
parents: 12559
diff changeset
350 other window.
7
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
351
22824
8dad79c661d1 Update runtime files
Bram Moolenaar <Bram@vim.org>
parents: 21499
diff changeset
352 --startuptime {file}
8dad79c661d1 Update runtime files
Bram Moolenaar <Bram@vim.org>
parents: 21499
diff changeset
353 During startup write timing messages to the file {fname}.
8dad79c661d1 Update runtime files
Bram Moolenaar <Bram@vim.org>
parents: 21499
diff changeset
354
7
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
355 --version Print version information and exit.
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
356
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
357 ON-LINE HELP
6918
2def7b25de60 Updated runtime files.
Bram Moolenaar <bram@vim.org>
parents: 1698
diff changeset
358 Type ":help" in Vim to get started. Type ":help subject" to get help
2def7b25de60 Updated runtime files.
Bram Moolenaar <bram@vim.org>
parents: 1698
diff changeset
359 on a specific subject. For example: ":help ZZ" to get help for the
2def7b25de60 Updated runtime files.
Bram Moolenaar <bram@vim.org>
parents: 1698
diff changeset
360 "ZZ" command. Use <Tab> and CTRL-D to complete subjects (":help cmd‐
2def7b25de60 Updated runtime files.
Bram Moolenaar <bram@vim.org>
parents: 1698
diff changeset
361 line-completion"). Tags are present to jump from one place to another
7
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
362 (sort of hypertext links, see ":help"). All documentation files can be
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
363 viewed in this way, for example ":help syntax.txt".
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
364
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
365 FILES
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
366 /usr/local/lib/vim/doc/*.txt
6918
2def7b25de60 Updated runtime files.
Bram Moolenaar <bram@vim.org>
parents: 1698
diff changeset
367 The Vim documentation files. Use ":help doc-file-list"
7
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
368 to get the complete list.
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
369
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
370 /usr/local/lib/vim/doc/tags
6918
2def7b25de60 Updated runtime files.
Bram Moolenaar <bram@vim.org>
parents: 1698
diff changeset
371 The tags file used for finding information in the docu‐
7
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
372 mentation files.
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
373
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
374 /usr/local/lib/vim/syntax/syntax.vim
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
375 System wide syntax initializations.
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
376
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
377 /usr/local/lib/vim/syntax/*.vim
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
378 Syntax files for various languages.
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
379
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
380 /usr/local/lib/vim/vimrc
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
381 System wide Vim initializations.
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
382
170
8c60f65311fa updated for version 7.0052
vimboss
parents: 36
diff changeset
383 ~/.vimrc Your personal Vim initializations.
8c60f65311fa updated for version 7.0052
vimboss
parents: 36
diff changeset
384
7
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
385 /usr/local/lib/vim/gvimrc
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
386 System wide gvim initializations.
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
387
170
8c60f65311fa updated for version 7.0052
vimboss
parents: 36
diff changeset
388 ~/.gvimrc Your personal gvim initializations.
8c60f65311fa updated for version 7.0052
vimboss
parents: 36
diff changeset
389
7
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
390 /usr/local/lib/vim/optwin.vim
6918
2def7b25de60 Updated runtime files.
Bram Moolenaar <bram@vim.org>
parents: 1698
diff changeset
391 Script used for the ":options" command, a nice way to
7
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
392 view and set options.
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
393
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
394 /usr/local/lib/vim/menu.vim
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
395 System wide menu initializations for gvim.
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
396
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
397 /usr/local/lib/vim/bugreport.vim
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
398 Script to generate a bug report. See ":help bugs".
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
399
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
400 /usr/local/lib/vim/filetype.vim
6918
2def7b25de60 Updated runtime files.
Bram Moolenaar <bram@vim.org>
parents: 1698
diff changeset
401 Script to detect the type of a file by its name. See
7
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
402 ":help 'filetype'".
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
403
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
404 /usr/local/lib/vim/scripts.vim
6918
2def7b25de60 Updated runtime files.
Bram Moolenaar <bram@vim.org>
parents: 1698
diff changeset
405 Script to detect the type of a file by its contents.
7
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
406 See ":help 'filetype'".
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
407
1698
f4f8014d516e updated for version 7.2c-000
vimboss
parents: 826
diff changeset
408 /usr/local/lib/vim/print/*.ps
7
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
409 Files used for PostScript printing.
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
410
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
411 For recent info read the VIM home page:
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
412 <URL:http://www.vim.org/>
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
413
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
414 SEE ALSO
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
415 vimtutor(1)
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
416
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
417 AUTHOR
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
418 Most of Vim was made by Bram Moolenaar, with a lot of help from others.
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
419 See ":help credits" in Vim.
6918
2def7b25de60 Updated runtime files.
Bram Moolenaar <bram@vim.org>
parents: 1698
diff changeset
420 Vim is based on Stevie, worked on by: Tim Thompson, Tony Andrews and
2def7b25de60 Updated runtime files.
Bram Moolenaar <bram@vim.org>
parents: 1698
diff changeset
421 G.R. (Fred) Walter. Although hardly any of the original code remains.
7
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
422
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
423 BUGS
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
424 Probably. See ":help todo" for a list of known problems.
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
425
803
dc38b8b94a55 updated for version 7.0b01
vimboss
parents: 170
diff changeset
426 Note that a number of things that may be regarded as bugs by some, are
dc38b8b94a55 updated for version 7.0b01
vimboss
parents: 170
diff changeset
427 in fact caused by a too-faithful reproduction of Vi's behaviour. And
dc38b8b94a55 updated for version 7.0b01
vimboss
parents: 170
diff changeset
428 if you think other things are bugs "because Vi does it differently",
dc38b8b94a55 updated for version 7.0b01
vimboss
parents: 170
diff changeset
429 you should take a closer look at the vi_diff.txt file (or type :help
dc38b8b94a55 updated for version 7.0b01
vimboss
parents: 170
diff changeset
430 vi_diff.txt when in Vim). Also have a look at the 'compatible' and
7
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
431 'cpoptions' options.
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
432
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
433
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
434
27321
3649b5a6b1b6 Update runtime files
Bram Moolenaar <Bram@vim.org>
parents: 24911
diff changeset
435 2021 Jun 13 VIM(1)