annotate runtime/doc/intro.txt @ 34660:765427c81d05

runtime(debcontrol): add Static-Built-Using field (#14306) Commit: https://github.com/vim/vim/commit/677cd956810e685e820a5ade5aa6c29be5044e9b Author: Guilherme Puida <guilherme@puida.xyz> Date: Thu Mar 28 05:56:50 2024 -0300 runtime(debcontrol): add Static-Built-Using field (https://github.com/vim/vim/issues/14306) Signed-off-by: Guilherme Puida <guilherme@puida.xyz> Signed-off-by: James McCoy <jamessan@jamessan.com> Signed-off-by: Christian Brabandt <cb@256bit.org>
author Christian Brabandt <cb@256bit.org>
date Thu, 28 Mar 2024 10:00:10 +0100
parents a0a4a774117b
children e317d26b71fc
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
34219
a0a4a774117b patch 9.1.0058: Cannot map Super Keys in GTK UI
Christian Brabandt <cb@256bit.org>
parents: 34057
diff changeset
1 *intro.txt* For Vim version 9.1. Last change: 2024 Jan 25
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 VIM REFERENCE MANUAL by Bram Moolenaar
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
5
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
6
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
7 Introduction to Vim *ref* *reference*
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
8
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
9 1. Introduction |intro|
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
10 2. Vim on the internet |internet|
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
11 3. Credits |credits|
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
12 4. Notation |notation|
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
13 5. Modes, introduction |vim-modes-intro|
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
14 6. Switching from mode to mode |mode-switching|
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
15 7. The window contents |window-contents|
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
16 8. Definitions |definitions|
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
17
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
18 ==============================================================================
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
19 1. Introduction *intro*
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
20
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
21 Vim stands for Vi IMproved. It used to be Vi IMitation, but there are so many
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
22 improvements that a name change was appropriate. Vim is a text editor which
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
23 includes almost all the commands from the Unix program "Vi" and a lot of new
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
24 ones. It is very useful for editing programs and other plain text.
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
25 All commands are given with the keyboard. This has the advantage that you
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
26 can keep your fingers on the keyboard and your eyes on the screen. For those
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
27 who want it, there is mouse support and a GUI version with scrollbars and
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
28 menus (see |gui.txt|).
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
29
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
30 An overview of this manual can be found in the file "help.txt", |help.txt|.
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
31 It can be accessed from within Vim with the <Help> or <F1> key and with the
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
32 |:help| command (just type ":help", without the bars or quotes).
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
33 The 'helpfile' option can be set to the name of the help file, in case it
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
34 is not located in the default place. You can jump to subjects like with tags:
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
35 Use CTRL-] to jump to a subject under the cursor, use CTRL-T to jump back.
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
36
16553
0e473e9e70c2 patch 8.1.1280: remarks about functionality not in Vi clutters the help
Bram Moolenaar <Bram@vim.org>
parents: 15512
diff changeset
37 The differences between Vi and Vim are mentioned in |vi_diff.txt|.
7
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
38
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
39 This manual refers to Vim on various machines. There may be small differences
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
40 between different computers and terminals. Besides the remarks given in this
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
41 document, there is a separate document for each supported system, see
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
42 |sys-file-list|.
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
43
2033
de5a43c5eedc Update documentation files.
Bram Moolenaar <bram@zimbu.org>
parents: 1702
diff changeset
44 *pronounce*
de5a43c5eedc Update documentation files.
Bram Moolenaar <bram@zimbu.org>
parents: 1702
diff changeset
45 Vim is pronounced as one word, like Jim, not vi-ai-em. It's written with a
33787
2d930bef4c22 runtime(doc): document proper notation of gVim, document vim-security list
Christian Brabandt <cb@256bit.org>
parents: 33649
diff changeset
46 capital, since it's a name, again like Jim. The GUI version of Vim is written
2d930bef4c22 runtime(doc): document proper notation of gVim, document vim-security list
Christian Brabandt <cb@256bit.org>
parents: 33649
diff changeset
47 "gVim" (or "GVim" when at the beginning of a sentence).
2033
de5a43c5eedc Update documentation files.
Bram Moolenaar <bram@zimbu.org>
parents: 1702
diff changeset
48
7
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
49 This manual is a reference for all the Vim commands and options. This is not
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
50 an introduction to the use of Vi or Vim, it gets a bit complicated here and
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
51 there. For beginners, there is a hands-on |tutor|. To learn using Vim, read
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
52 the user manual |usr_toc.txt|.
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
53
15334
9d3d7b0f4861 Update runtime files
Bram Moolenaar <Bram@vim.org>
parents: 14519
diff changeset
54 *book* *books*
9d3d7b0f4861 Update runtime files
Bram Moolenaar <Bram@vim.org>
parents: 14519
diff changeset
55 Most books on Vi and Vim contain a section for beginners. Others are spending
9d3d7b0f4861 Update runtime files
Bram Moolenaar <Bram@vim.org>
parents: 14519
diff changeset
56 more words on specific functionality. You can find an overview of Vim books
9d3d7b0f4861 Update runtime files
Bram Moolenaar <Bram@vim.org>
parents: 14519
diff changeset
57 here:
9d3d7b0f4861 Update runtime files
Bram Moolenaar <Bram@vim.org>
parents: 14519
diff changeset
58 http://iccf-holland.org/vim_books.html
7
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
59
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
60 ==============================================================================
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
61 2. Vim on the internet *internet*
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
62
838
8e5830943bff updated for version 7.0e04
vimboss
parents: 834
diff changeset
63 *www* *WWW* *faq* *FAQ* *distribution* *download*
7
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
64 The Vim pages contain the most recent information about Vim. They also
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
65 contain links to the most recent version of Vim. The FAQ is a list of
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
66 Frequently Asked Questions. Read this if you have problems.
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
67
15334
9d3d7b0f4861 Update runtime files
Bram Moolenaar <Bram@vim.org>
parents: 14519
diff changeset
68 Vim home page: https://www.vim.org/
17161
9ccb1ea9b2fc Update runtime files
Bram Moolenaar <Bram@vim.org>
parents: 16610
diff changeset
69 Vim FAQ: https://vimhelp.org/vim_faq.txt.html
15334
9d3d7b0f4861 Update runtime files
Bram Moolenaar <Bram@vim.org>
parents: 14519
diff changeset
70 Downloading: https://www.vim.org/download.php
7
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
71
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
72
17261
432714f5c0f7 Update runtime files
Bram Moolenaar <Bram@vim.org>
parents: 17161
diff changeset
73 Asking questions, finding answers: https://vi.stackexchange.com/
432714f5c0f7 Update runtime files
Bram Moolenaar <Bram@vim.org>
parents: 17161
diff changeset
74 "Vi and Vim Stack Exchange is a question and answer site for people using the
432714f5c0f7 Update runtime files
Bram Moolenaar <Bram@vim.org>
parents: 17161
diff changeset
75 vi and Vim families of text editors"
432714f5c0f7 Update runtime files
Bram Moolenaar <Bram@vim.org>
parents: 17161
diff changeset
76
432714f5c0f7 Update runtime files
Bram Moolenaar <Bram@vim.org>
parents: 17161
diff changeset
77
7
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
78 Usenet News group where Vim is discussed: *news* *usenet*
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
79 comp.editors
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
80 This group is also for other editors. If you write about Vim, don't forget to
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
81 mention that.
17261
432714f5c0f7 Update runtime files
Bram Moolenaar <Bram@vim.org>
parents: 17161
diff changeset
82 You can access it here:
432714f5c0f7 Update runtime files
Bram Moolenaar <Bram@vim.org>
parents: 17161
diff changeset
83 https://groups.google.com/forum/#!topic/comp.editors
7
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
84
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
85 *mail-list* *maillist*
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
86 There are several mailing lists for Vim:
10548
74effdaa369e Updated runtime files.
Christian Brabandt <cb@256bit.org>
parents: 10228
diff changeset
87 <vim@vim.org> *vim-use* *vim_use*
7
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
88 For discussions about using existing versions of Vim: Useful mappings,
824
8dd456c1e283 updated for version 7.0c13
vimboss
parents: 810
diff changeset
89 questions, answers, where to get a specific version, etc. There are
8dd456c1e283 updated for version 7.0c13
vimboss
parents: 810
diff changeset
90 quite a few people watching this list and answering questions, also
8dd456c1e283 updated for version 7.0c13
vimboss
parents: 810
diff changeset
91 for beginners. Don't hesitate to ask your question here.
10548
74effdaa369e Updated runtime files.
Christian Brabandt <cb@256bit.org>
parents: 10228
diff changeset
92 <vim-dev@vim.org> *vim-dev* *vim_dev* *vimdev*
7
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
93 For discussions about changing Vim: New features, porting, patches,
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
94 beta-test versions, etc.
10548
74effdaa369e Updated runtime files.
Christian Brabandt <cb@256bit.org>
parents: 10228
diff changeset
95 <vim-announce@vim.org> *vim-announce* *vim_announce*
7
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
96 Announcements about new versions of Vim; also for beta-test versions
824
8dd456c1e283 updated for version 7.0c13
vimboss
parents: 810
diff changeset
97 and ports to different systems. This is a read-only list.
10548
74effdaa369e Updated runtime files.
Christian Brabandt <cb@256bit.org>
parents: 10228
diff changeset
98 <vim-mac@vim.org> *vim-mac* *vim_mac*
7
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
99 For discussions about using and improving the Macintosh version of
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
100 Vim.
33787
2d930bef4c22 runtime(doc): document proper notation of gVim, document vim-security list
Christian Brabandt <cb@256bit.org>
parents: 33649
diff changeset
101 <vim-security@googlegroups.com> *vim-security*
2d930bef4c22 runtime(doc): document proper notation of gVim, document vim-security list
Christian Brabandt <cb@256bit.org>
parents: 33649
diff changeset
102 This list is for (privately) discussing security relevant issues of Vim.
7
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
103
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
104 See http://www.vim.org/maillist.php for the latest information.
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
105
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
106 NOTE:
15334
9d3d7b0f4861 Update runtime files
Bram Moolenaar <Bram@vim.org>
parents: 14519
diff changeset
107 - Anyone can see the archive, e.g. on Google groups. Search this if you have
33787
2d930bef4c22 runtime(doc): document proper notation of gVim, document vim-security list
Christian Brabandt <cb@256bit.org>
parents: 33649
diff changeset
108 questions, except for the vim-security list.
7
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
109 - You can only send messages to these lists if you have subscribed!
15334
9d3d7b0f4861 Update runtime files
Bram Moolenaar <Bram@vim.org>
parents: 14519
diff changeset
110 - The first message is moderated, thus it may take a few hours to show up.
7
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
111 - You need to send the messages from the same location as where you subscribed
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
112 from (to avoid spam mail).
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
113
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
114 *subscribe-maillist*
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
115 If you want to join, send a message to
1624
18ee39301b82 updated for version 7.2a
vimboss
parents: 1272
diff changeset
116 <vim-subscribe@vim.org>
7
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
117 Make sure that your "From:" address is correct. Then the list server will
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
118 give you help on how to subscribe.
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
119
1624
18ee39301b82 updated for version 7.2a
vimboss
parents: 1272
diff changeset
120 *maillist-archive*
18ee39301b82 updated for version 7.2a
vimboss
parents: 1272
diff changeset
121 For more information and archives look on the Vim maillist page:
18ee39301b82 updated for version 7.2a
vimboss
parents: 1272
diff changeset
122 http://www.vim.org/maillist.php
7
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
123
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
124
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
125 Bug reports: *bugs* *bug-reports* *bugreport.vim*
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
126
20753
661eb972cb22 Update runtime files
Bram Moolenaar <Bram@vim.org>
parents: 18879
diff changeset
127 There are three ways to report bugs:
30875
3295247d97a5 Update runtime files
Bram Moolenaar <Bram@vim.org>
parents: 30324
diff changeset
128 1. For issues with runtime files, look in the header for an email address or
3295247d97a5 Update runtime files
Bram Moolenaar <Bram@vim.org>
parents: 30324
diff changeset
129 any other way to report it to the maintainer.
3295247d97a5 Update runtime files
Bram Moolenaar <Bram@vim.org>
parents: 30324
diff changeset
130 2. Open an issue on GitHub: https://github.com/vim/vim/issues
20753
661eb972cb22 Update runtime files
Bram Moolenaar <Bram@vim.org>
parents: 18879
diff changeset
131 The text will be forwarded to the vim-dev maillist.
661eb972cb22 Update runtime files
Bram Moolenaar <Bram@vim.org>
parents: 18879
diff changeset
132 3. Send bug reports to: Vim Developers <vim-dev@vim.org>
10228
8a1481e59d64 commit https://github.com/vim/vim/commit/3e496b0ea31996b665824f45664dee1fdd73c4d0
Christian Brabandt <cb@256bit.org>
parents: 10198
diff changeset
133 This is a maillist, you need to become a member first and many people will
8a1481e59d64 commit https://github.com/vim/vim/commit/3e496b0ea31996b665824f45664dee1fdd73c4d0
Christian Brabandt <cb@256bit.org>
parents: 10198
diff changeset
134 see the message. If you don't want that, e.g. because it is a security
32770
4027cefc2aab Farewell to Bram and dedicate upcoming Vim 9.1 to him (#12749)
Christian Brabandt <cb@256bit.org>
parents: 31200
diff changeset
135 issue, please contact any of the current Vim maintainers
4027cefc2aab Farewell to Bram and dedicate upcoming Vim 9.1 to him (#12749)
Christian Brabandt <cb@256bit.org>
parents: 31200
diff changeset
136 https://github.com/orgs/vim/people (but not Bram or the vim-dev ML).
4027cefc2aab Farewell to Bram and dedicate upcoming Vim 9.1 to him (#12749)
Christian Brabandt <cb@256bit.org>
parents: 31200
diff changeset
137 In the future, a proper process for handling security issues will be setup.
5968
92751673cc37 Update runtime files.
Bram Moolenaar <bram@vim.org>
parents: 5294
diff changeset
138
7
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
139 Please be brief; all the time that is spent on answering mail is subtracted
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
140 from the time that is spent on improving Vim! Always give a reproducible
11763
21f3930dfe6e Documentation updates.
Christian Brabandt <cb@256bit.org>
parents: 11473
diff changeset
141 example and try to find out which settings or other things trigger the bug.
21f3930dfe6e Documentation updates.
Christian Brabandt <cb@256bit.org>
parents: 11473
diff changeset
142
21f3930dfe6e Documentation updates.
Christian Brabandt <cb@256bit.org>
parents: 11473
diff changeset
143 Preferably start Vim with: >
21f3930dfe6e Documentation updates.
Christian Brabandt <cb@256bit.org>
parents: 11473
diff changeset
144 vim --clean -u reproduce.vim
21f3930dfe6e Documentation updates.
Christian Brabandt <cb@256bit.org>
parents: 11473
diff changeset
145 Where reproduce.vim is a script that reproduces the problem. Try different
21f3930dfe6e Documentation updates.
Christian Brabandt <cb@256bit.org>
parents: 11473
diff changeset
146 machines, if relevant (is this an MS-Windows specific bug perhaps?).
21f3930dfe6e Documentation updates.
Christian Brabandt <cb@256bit.org>
parents: 11473
diff changeset
147
15334
9d3d7b0f4861 Update runtime files
Bram Moolenaar <Bram@vim.org>
parents: 14519
diff changeset
148 Send me patches if you can! If you create a pull request on
9d3d7b0f4861 Update runtime files
Bram Moolenaar <Bram@vim.org>
parents: 14519
diff changeset
149 https://github.com/vim/vim then the automated checks will run and report any
9d3d7b0f4861 Update runtime files
Bram Moolenaar <Bram@vim.org>
parents: 14519
diff changeset
150 obvious problems. But you can also send the patch by email (use an attachment
9d3d7b0f4861 Update runtime files
Bram Moolenaar <Bram@vim.org>
parents: 14519
diff changeset
151 to avoid white space changes).
7
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
152
502
52e76e2b5b65 updated for version 7.0140
vimboss
parents: 323
diff changeset
153 It will help to include information about the version of Vim you are using and
52e76e2b5b65 updated for version 7.0140
vimboss
parents: 323
diff changeset
154 your setup. You can get the information with this command: >
7
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
155 :so $VIMRUNTIME/bugreport.vim
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
156 This will create a file "bugreport.txt" in the current directory, with a lot
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
157 of information of your environment. Before sending this out, check if it
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
158 doesn't contain any confidential information!
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
159
502
52e76e2b5b65 updated for version 7.0140
vimboss
parents: 323
diff changeset
160 If Vim crashes, please try to find out where. You can find help on this here:
52e76e2b5b65 updated for version 7.0140
vimboss
parents: 323
diff changeset
161 |debug.txt|.
7
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
162
502
52e76e2b5b65 updated for version 7.0140
vimboss
parents: 323
diff changeset
163 In case of doubt or when you wonder if the problem has already been fixed but
52e76e2b5b65 updated for version 7.0140
vimboss
parents: 323
diff changeset
164 you can't find a fix for it, become a member of the vim-dev maillist and ask
52e76e2b5b65 updated for version 7.0140
vimboss
parents: 323
diff changeset
165 your question there. |maillist|
7
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
166
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
167 *year-2000* *Y2K*
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
168 Since Vim internally doesn't use dates for editing, there is no year 2000
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
169 problem to worry about. Vim does use the time in the form of seconds since
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
170 January 1st 1970. It is used for a time-stamp check of the edited file and
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
171 the swap file, which is not critical and should only cause warning messages.
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
172
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
173 There might be a year 2038 problem, when the seconds don't fit in a 32 bit int
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
174 anymore. This depends on the compiler, libraries and operating system.
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
175 Specifically, time_t and the ctime() function are used. And the time_t is
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
176 stored in four bytes in the swap file. But that's only used for printing a
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
177 file date/time for recovery, it will never affect normal editing.
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
178
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
179 The Vim strftime() function directly uses the strftime() system function.
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
180 localtime() uses the time() system function. getftime() uses the time
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
181 returned by the stat() system function. If your system libraries are year
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
182 2000 compliant, Vim is too.
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
183
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
184 The user may create scripts for Vim that use external commands. These might
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
185 introduce Y2K problems, but those are not really part of Vim itself.
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
186
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
187 ==============================================================================
32770
4027cefc2aab Farewell to Bram and dedicate upcoming Vim 9.1 to him (#12749)
Christian Brabandt <cb@256bit.org>
parents: 31200
diff changeset
188 3. Credits *credits* *author*
7
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
189
33649
88cad94caef9 runtime(doc): Fix typos in several documents (#13420)
Christian Brabandt <cb@256bit.org>
parents: 33253
diff changeset
190 Most of Vim was created by Bram Moolenaar <Bram@vim.org> |Bram-Moolenaar|.
7
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
191
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
192 Parts of the documentation come from several Vi manuals, written by:
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
193 W.N. Joy
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
194 Alan P.W. Hewett
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
195 Mark Horton
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
196
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
197 The Vim editor is based on Stevie and includes (ideas from) other software,
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
198 worked on by the people mentioned here. Other people helped by sending me
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
199 patches, suggestions and giving feedback about what is good and bad in Vim.
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
200
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
201 Vim would never have become what it is now, without the help of these people!
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
202
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
203 Ron Aaron Win32 GUI changes
2246
1e48f569b03d Move text from various.txt to a new helphelp.txt help file.
Bram Moolenaar <bram@vim.org>
parents: 2154
diff changeset
204 Mohsin Ahmed encryption
7
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
205 Zoltan Arpadffy work on VMS port
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
206 Tony Andrews Stevie
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
207 Gert van Antwerpen changes for DJGPP on MS-DOS
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
208 Berkeley DB(3) ideas for swap file implementation
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
209 Keith Bostic Nvi
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
210 Walter Briscoe Makefile updates, various patches
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
211 Ralf Brown SPAWNO library for MS-DOS
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
212 Robert Colon many useful remarks
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
213 Marcin Dalecki GTK+ GUI port, toolbar icons, gettext()
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
214 Kayhan Demirel sent me news in Uganda
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
215 Chris & John Downey xvi (ideas for multi-windows version)
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
216 Henk Elbers first VMS port
29
ac33b7c03fac updated for version 7.0018
vimboss
parents: 7
diff changeset
217 Daniel Elstner GTK+ 2 port
7
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
218 Eric Fischer Mac port, 'cindent', and other improvements
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
219 Benji Fisher Answering lots of user questions
28379
6dd88e45d47d Update runtime files
Bram Moolenaar <Bram@vim.org>
parents: 28010
diff changeset
220 Bill Foster Athena GUI port (later removed)
33253
3bc84e3fd05c runtime(doc): documentation updates
Christian Brabandt <cb@256bit.org>
parents: 32770
diff changeset
221 Google Let Bram work on Vim one day a week
7
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
222 Loic Grenie xvim (ideas for multi windows version)
33649
88cad94caef9 runtime(doc): Fix typos in several documents (#13420)
Christian Brabandt <cb@256bit.org>
parents: 33253
diff changeset
223 Sven Guckes Vim promoter and previous WWW page maintainer
88cad94caef9 runtime(doc): Fix typos in several documents (#13420)
Christian Brabandt <cb@256bit.org>
parents: 33253
diff changeset
224 |Sven-Guckes|
7
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
225 Darren Hiebert Exuberant ctags
29
ac33b7c03fac updated for version 7.0018
vimboss
parents: 7
diff changeset
226 Jason Hildebrand GTK+ 2 port
7
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
227 Bruce Hunsaker improvements for VMS port
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
228 Andy Kahn Cscope support, GTK+ GUI port
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
229 Oezguer Kesim Maintainer of Vim Mailing Lists
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
230 Axel Kielhorn work on the Macintosh port
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
231 Steve Kirkendall Elvis
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
232 Roger Knobbe original port to Windows NT
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
233 Sergey Laskavy Vim's help from Moscow
1624
18ee39301b82 updated for version 7.2a
vimboss
parents: 1272
diff changeset
234 Felix von Leitner Previous maintainer of Vim Mailing Lists
7
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
235 David Leonard Port of Python extensions to Unix
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
236 Avner Lottem Edit in right-to-left windows
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
237 Flemming Madsen X11 client-server, various features and patches
2246
1e48f569b03d Move text from various.txt to a new helphelp.txt help file.
Bram Moolenaar <bram@vim.org>
parents: 2154
diff changeset
238 Tony Mechelynck answers many user questions
7
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
239 Paul Moore Python interface extensions, many patches
21991
bbca88cd13d5 Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents: 20753
diff changeset
240 Katsuhito Nagano Work on multibyte versions
bbca88cd13d5 Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents: 20753
diff changeset
241 Sung-Hyun Nam Work on multibyte versions
7
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
242 Vince Negri Win32 GUI and generic console enhancements
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
243 Steve Oualline Author of the first Vim book |frombook|
18615
c4cdc715cb68 Update runtime files
Bram Moolenaar <Bram@vim.org>
parents: 17758
diff changeset
244 Dominique Pelle Valgrind reports and many fixes
1624
18ee39301b82 updated for version 7.2a
vimboss
parents: 1272
diff changeset
245 A.Politz Many bug reports and some fixes
7
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
246 George V. Reilly Win32 port, Win32 GUI start-off
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
247 Stephen Riehm bug collector
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
248 Stefan Roemer various patches and help to users
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
249 Ralf Schandl IBM OS/390 port
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
250 Olaf Seibert DICE and BeBox version, regexp improvements
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
251 Mortaza Shiran Farsi patches
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
252 Peter da Silva termlib
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
253 Paul Slootman OS/2 port
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
254 Henry Spencer regular expressions
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
255 Dany St-Amant Macintosh port
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
256 Tim Thompson Stevie
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
257 G. R. (Fred) Walter Stevie
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
258 Sven Verdoolaege Perl interface
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
259 Robert Webb Command-line completion, GUI versions, and
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
260 lots of patches
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
261 Ingo Wilken Tcl interface
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
262 Mike Williams PostScript printing
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
263 Juergen Weigert Lattice version, AUX improvements, UNIX and
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
264 MS-DOS ports, autoconf
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
265 Stefan 'Sec' Zehl Maintainer of vim.org
12499
d91cf2e26ef0 Update runtime files.
Christian Brabandt <cb@256bit.org>
parents: 12254
diff changeset
266 Yasuhiro Matsumoto many MS-Windows improvements
d91cf2e26ef0 Update runtime files.
Christian Brabandt <cb@256bit.org>
parents: 12254
diff changeset
267 Ken Takata fixes and features
d91cf2e26ef0 Update runtime files.
Christian Brabandt <cb@256bit.org>
parents: 12254
diff changeset
268 Kazunobu Kuriyama GTK 3
d91cf2e26ef0 Update runtime files.
Christian Brabandt <cb@256bit.org>
parents: 12254
diff changeset
269 Christian Brabandt many fixes, features, user support, etc.
15334
9d3d7b0f4861 Update runtime files
Bram Moolenaar <Bram@vim.org>
parents: 14519
diff changeset
270 Yegappan Lakshmanan many quickfix features
7
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
271
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
272 I wish to thank all the people that sent me bug reports and suggestions. The
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
273 list is too long to mention them all here. Vim would not be the same without
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
274 the ideas from all these people: They keep Vim alive!
4992
ceb5f21cda79 Update runtime files.
Bram Moolenaar <bram@vim.org>
parents: 4119
diff changeset
275 *love* *peace* *friendship* *gross-national-happiness*
7
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
276
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
277
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
278 In this documentation there are several references to other versions of Vi:
39
410fa1a31baf updated for version 7.0023
vimboss
parents: 36
diff changeset
279 *Vi* *vi*
7
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
280 Vi "the original". Without further remarks this is the version
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
281 of Vi that appeared in Sun OS 4.x. ":version" returns
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
282 "Version 3.7, 6/7/85". Sometimes other versions are referred
15512
f0f06837a699 Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents: 15334
diff changeset
283 to. Only runs under Unix. Source code is now available under a
f0f06837a699 Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents: 15334
diff changeset
284 BSD-style license. More information on Vi can be found through:
f0f06837a699 Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents: 15334
diff changeset
285 http://ex-vi.sourceforge.net/
7
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
286 *Posix*
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
287 Posix From the IEEE standard 1003.2, Part 2: Shell and utilities.
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
288 Generally known as "Posix". This is a textual description of
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
289 how Vi is supposed to work.
161
6df0106fc595 updated for version 7.0049
vimboss
parents: 39
diff changeset
290 See |posix-compliance|.
7
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
291 *Nvi*
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
292 Nvi The "New" Vi. The version of Vi that comes with BSD 4.4 and FreeBSD.
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
293 Very good compatibility with the original Vi, with a few extensions.
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
294 The version used is 1.79. ":version" returns "Version 1.79
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
295 (10/23/96)". There has been no release the last few years, although
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
296 there is a development version 1.81.
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
297 Source code is freely available.
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
298 *Elvis*
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
299 Elvis Another Vi clone, made by Steve Kirkendall. Very compact but isn't
15512
f0f06837a699 Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents: 15334
diff changeset
300 as flexible as Vim. Development has stalled, Elvis has left the
f0f06837a699 Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents: 15334
diff changeset
301 building! Source code is freely available.
f0f06837a699 Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents: 15334
diff changeset
302 *Neovim*
f0f06837a699 Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents: 15334
diff changeset
303 Neovim A Vim clone. Forked the Vim source in 2014 and went a different way.
15334
9d3d7b0f4861 Update runtime files
Bram Moolenaar <Bram@vim.org>
parents: 14519
diff changeset
304 Very much bound to github and has many more dependencies, making
9d3d7b0f4861 Update runtime files
Bram Moolenaar <Bram@vim.org>
parents: 14519
diff changeset
305 development more complex and limiting portability. Code has been
9d3d7b0f4861 Update runtime files
Bram Moolenaar <Bram@vim.org>
parents: 14519
diff changeset
306 refactored, resulting in patches not being exchangeable with Vim.
9d3d7b0f4861 Update runtime files
Bram Moolenaar <Bram@vim.org>
parents: 14519
diff changeset
307 Supports a remote GUI and integration with scripting languages.
7
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
308
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
309 ==============================================================================
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
310 4. Notation *notation*
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
311
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
312 When syntax highlighting is used to read this, text that is not typed
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
313 literally is often highlighted with the Special group. These are items in [],
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
314 {} and <>, and CTRL-X.
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
315
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
316 Note that Vim uses all possible characters in commands. Sometimes the [], {}
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
317 and <> are part of what you type, the context should make this clear.
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
318
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
319
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
320 [] Characters in square brackets are optional.
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
321
2596
fae782ef63dd Runtime file updates.
Bram Moolenaar <bram@vim.org>
parents: 2577
diff changeset
322 *count* *[count]*
7
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
323 [count] An optional number that may precede the command to multiply
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
324 or iterate the command. If no number is given, a count of one
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
325 is used, unless otherwise noted. Note that in this manual the
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
326 [count] is not mentioned in the description of the command,
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
327 but only in the explanation. This was done to make the
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
328 commands easier to look up. If the 'showcmd' option is on,
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
329 the (partially) entered count is shown at the bottom of the
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
330 window. You can use <Del> to erase the last digit (|N<Del>|).
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
331
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
332 *[quotex]*
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
333 ["x] An optional register designation where text can be stored.
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
334 See |registers|. The x is a single character between 'a' and
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
335 'z' or 'A' and 'Z' or '"', and in some cases (with the put
237
73354c21f1e4 updated for version 7.0066
vimboss
parents: 161
diff changeset
336 command) between '0' and '9', '%', '#', or others. The
7
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
337 uppercase and lowercase letter designate the same register,
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
338 but the lowercase letter is used to overwrite the previous
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
339 register contents, while the uppercase letter is used to
237
73354c21f1e4 updated for version 7.0066
vimboss
parents: 161
diff changeset
340 append to the previous register contents. Without the ""x" or
7
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
341 with """" the stored text is put into the unnamed register.
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
342
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
343 *{}*
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
344 {} Curly braces denote parts of the command which must appear,
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
345 but which can take a number of different values. The
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
346 differences between Vim and Vi are also given in curly braces
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
347 (this will be clear from the context).
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
348
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
349 *{char1-char2}*
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
350 {char1-char2} A single character from the range char1 to char2. For
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
351 example: {a-z} is a lowercase letter. Multiple ranges may be
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
352 concatenated. For example, {a-zA-Z0-9} is any alphanumeric
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
353 character.
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
354
36
125e80798a85 updated for version 7.0021
vimboss
parents: 29
diff changeset
355 *{motion}* *movement*
7
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
356 {motion} A command that moves the cursor. These are explained in
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
357 |motion.txt|. Examples:
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
358 w to start of next word
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
359 b to begin of current word
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
360 4j four lines down
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
361 /The<CR> to next occurrence of "The"
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
362 This is used after an |operator| command to move over the text
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
363 that is to be operated upon.
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
364 - If the motion includes a count and the operator also has a
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
365 count, the two counts are multiplied. For example: "2d3w"
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
366 deletes six words.
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
367 - The motion can be backwards, e.g. "db" to delete to the
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
368 start of the word.
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
369 - The motion can also be a mouse click. The mouse is not
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
370 supported in every terminal though.
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
371 - The ":omap" command can be used to map characters while an
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
372 operator is pending.
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
373 - Ex commands can be used to move the cursor. This can be
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
374 used to call a function that does some complicated motion.
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
375 The motion is always characterwise exclusive, no matter
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
376 what ":" command is used. This means it's impossible to
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
377 include the last character of a line without the line break
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
378 (unless 'virtualedit' is set).
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
379 If the Ex command changes the text before where the operator
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
380 starts or jumps to another buffer the result is
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
381 unpredictable. It is possible to change the text further
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
382 down. Jumping to another buffer is possible if the current
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
383 buffer is not unloaded.
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
384
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
385 *{Visual}*
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
386 {Visual} A selected text area. It is started with the "v", "V", or
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
387 CTRL-V command, then any cursor movement command can be used
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
388 to change the end of the selected text.
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
389 This is used before an |operator| command to highlight the
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
390 text that is to be operated upon.
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
391 See |Visual-mode|.
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
392
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
393 *<character>*
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
394 <character> A special character from the table below, optionally with
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
395 modifiers, or a single ASCII character with modifiers.
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
396
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
397 *'character'*
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
398 'c' A single ASCII character.
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
399
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
400 *CTRL-{char}*
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
401 CTRL-{char} {char} typed as a control character; that is, typing {char}
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
402 while holding the CTRL key down. The case of {char} does not
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
403 matter; thus CTRL-A and CTRL-a are equivalent. But on some
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
404 terminals, using the SHIFT key will produce another code,
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
405 don't use it then.
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
406
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
407 *'option'*
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
408 'option' An option, or parameter, that can be set to a value, is
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
409 enclosed in single quotes. See |options|.
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
410
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
411 *quotecommandquote*
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
412 "command" A reference to a command that you can type is enclosed in
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
413 double quotes.
4119
61bcafd8c648 Update runtime files.
Bram Moolenaar <bram@vim.org>
parents: 3830
diff changeset
414 `command` New style command, this distinguishes it from other quoted
61bcafd8c648 Update runtime files.
Bram Moolenaar <bram@vim.org>
parents: 3830
diff changeset
415 text and strings.
7
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
416
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
417 *key-notation* *key-codes* *keycodes*
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
418 These names for keys are used in the documentation. They can also be used
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
419 with the ":map" command (insert the key name by pressing CTRL-K and then the
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
420 key you want the name for).
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
421
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
422 notation meaning equivalent decimal value(s) ~
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
423 -----------------------------------------------------------------------
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
424 <Nul> zero CTRL-@ 0 (stored as 10) *<Nul>*
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
425 <BS> backspace CTRL-H 8 *backspace*
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
426 <Tab> tab CTRL-I 9 *tab* *Tab*
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
427 *linefeed*
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
428 <NL> linefeed CTRL-J 10 (used for <Nul>)
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
429 <CR> carriage return CTRL-M 13 *carriage-return*
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
430 <Return> same as <CR> *<Return>*
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
431 <Enter> same as <CR> *<Enter>*
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
432 <Esc> escape CTRL-[ 27 *escape* *<Esc>*
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
433 <Space> space 32 *space*
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
434 <lt> less-than < 60 *<lt>*
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
435 <Bslash> backslash \ 92 *backslash* *<Bslash>*
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
436 <Bar> vertical bar | 124 *<Bar>*
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
437 <Del> delete 127
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
438 <CSI> command sequence intro ALT-Esc 155 *<CSI>*
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
439 <xCSI> CSI when typed in the GUI *<xCSI>*
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
440
23305
fab58304f77d Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents: 21991
diff changeset
441 <EOL> end-of-line (can be <CR>, <NL> or <CR><NL>,
7
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
442 depends on system and 'fileformat') *<EOL>*
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
443
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
444 <Up> cursor-up *cursor-up* *cursor_up*
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
445 <Down> cursor-down *cursor-down* *cursor_down*
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
446 <Left> cursor-left *cursor-left* *cursor_left*
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
447 <Right> cursor-right *cursor-right* *cursor_right*
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
448 <S-Up> shift-cursor-up
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
449 <S-Down> shift-cursor-down
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
450 <S-Left> shift-cursor-left
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
451 <S-Right> shift-cursor-right
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
452 <C-Left> control-cursor-left
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
453 <C-Right> control-cursor-right
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
454 <F1> - <F12> function keys 1 to 12 *function_key* *function-key*
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
455 <S-F1> - <S-F12> shift-function keys 1 to 12 *<S-F1>*
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
456 <Help> help key
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
457 <Undo> undo key
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
458 <Insert> insert key
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
459 <Home> home *home*
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
460 <End> end *end*
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
461 <PageUp> page-up *page_up* *page-up*
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
462 <PageDown> page-down *page_down* *page-down*
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
463 <kHome> keypad home (upper left) *keypad-home*
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
464 <kEnd> keypad end (lower left) *keypad-end*
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
465 <kPageUp> keypad page-up (upper right) *keypad-page-up*
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
466 <kPageDown> keypad page-down (lower right) *keypad-page-down*
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
467 <kPlus> keypad + *keypad-plus*
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
468 <kMinus> keypad - *keypad-minus*
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
469 <kMultiply> keypad * *keypad-multiply*
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
470 <kDivide> keypad / *keypad-divide*
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
471 <kEnter> keypad Enter *keypad-enter*
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
472 <kPoint> keypad Decimal point *keypad-point*
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
473 <k0> - <k9> keypad 0 to 9 *keypad-0* *keypad-9*
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
474 <S-...> shift-key *shift* *<S-*
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
475 <C-...> control-key *control* *ctrl* *<C-*
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
476 <M-...> alt-key or meta-key *meta* *alt* *<M-*
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
477 <A-...> same as <M-...> *<A-*
34219
a0a4a774117b patch 9.1.0058: Cannot map Super Keys in GTK UI
Christian Brabandt <cb@256bit.org>
parents: 34057
diff changeset
478 <D-...> command-key (Mac) / super (GTK) *<D-*
7
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
479 <t_xx> key with "xx" entry in termcap
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
480 -----------------------------------------------------------------------
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
481
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
482 Note: The shifted cursor keys, the help key, and the undo key are only
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
483 available on a few terminals. On the Amiga, shifted function key 10 produces
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
484 a code (CSI) that is also used by key sequences. It will be recognized only
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
485 after typing another key.
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
486
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
487 Note: There are two codes for the delete key. 127 is the decimal ASCII value
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
488 for the delete key, which is always recognized. Some delete keys send another
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
489 value, in which case this value is obtained from the termcap entry "kD". Both
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
490 values have the same effect. Also see |:fixdel|.
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
491
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
492 Note: The keypad keys are used in the same way as the corresponding "normal"
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
493 keys. For example, <kHome> has the same effect as <Home>. If a keypad key
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
494 sends the same raw key code as its non-keypad equivalent, it will be
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
495 recognized as the non-keypad code. For example, when <kHome> sends the same
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
496 code as <Home>, when pressing <kHome> Vim will think <Home> was pressed.
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
497 Mapping <kHome> will not work then.
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
498
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
499 *<>*
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
500 Examples are often given in the <> notation. Sometimes this is just to make
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
501 clear what you need to type, but often it can be typed literally, e.g., with
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
502 the ":map" command. The rules are:
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
503 1. Any printable characters are typed directly, except backslash and '<'
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
504 2. A backslash is represented with "\\", double backslash, or "<Bslash>".
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
505 3. A real '<' is represented with "\<" or "<lt>". When there is no
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
506 confusion possible, a '<' can be used directly.
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
507 4. "<key>" means the special key typed. This is the notation explained in
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
508 the table above. A few examples:
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
509 <Esc> Escape key
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
510 <C-G> CTRL-G
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
511 <Up> cursor up key
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
512 <C-LeftMouse> Control- left mouse click
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
513 <S-F11> Shifted function key 11
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
514 <M-a> Meta- a ('a' with bit 8 set)
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
515 <M-A> Meta- A ('A' with bit 8 set)
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
516 <t_kd> "kd" termcap entry (cursor down key)
21991
bbca88cd13d5 Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents: 20753
diff changeset
517 Although you can specify <M-{char}> with {char} being a multibyte
17758
f2c2f9126a82 Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents: 17261
diff changeset
518 character, Vim may not be able to know what byte sequence that is and then
f2c2f9126a82 Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents: 17261
diff changeset
519 it won't work.
7
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
520
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
521 If you want to use the full <> notation in Vim, you have to make sure the '<'
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
522 flag is excluded from 'cpoptions' (when 'compatible' is not set, it already is
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
523 by default). >
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
524 :set cpo-=<
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
525 The <> notation uses <lt> to escape the special meaning of key names. Using a
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
526 backslash also works, but only when 'cpoptions' does not include the 'B' flag.
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
527
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
528 Examples for mapping CTRL-H to the six characters "<Home>": >
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
529 :imap <C-H> \<Home>
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
530 :imap <C-H> <lt>Home>
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
531 The first one only works when the 'B' flag is not in 'cpoptions'. The second
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
532 one always works.
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
533 To get a literal "<lt>" in a mapping: >
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
534 :map <C-L> <lt>lt>
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
535
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
536 For mapping, abbreviation and menu commands you can then copy-paste the
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
537 examples and use them directly. Or type them literally, including the '<' and
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
538 '>' characters. This does NOT work for other commands, like ":set" and
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
539 ":autocmd"!
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
540
30324
0827d3d6d8c0 Update runtime files
Bram Moolenaar <Bram@vim.org>
parents: 29403
diff changeset
541 The notation can be used in a double quoted strings, using "\<" at the start,
0827d3d6d8c0 Update runtime files
Bram Moolenaar <Bram@vim.org>
parents: 29403
diff changeset
542 e.g. "\<C-Space>". This results in a special key code. To convert this back
0827d3d6d8c0 Update runtime files
Bram Moolenaar <Bram@vim.org>
parents: 29403
diff changeset
543 to readable text use `keytrans()`.
0827d3d6d8c0 Update runtime files
Bram Moolenaar <Bram@vim.org>
parents: 29403
diff changeset
544
7
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
545 ==============================================================================
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
546 5. Modes, introduction *vim-modes-intro* *vim-modes*
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
547
12045
444ad56c0cac Update runtime files.
Christian Brabandt <cb@256bit.org>
parents: 11914
diff changeset
548 Vim has seven BASIC modes:
7
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
549
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
550 *Normal* *Normal-mode* *command-mode*
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
551 Normal mode In Normal mode you can enter all the normal editor
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
552 commands. If you start the editor you are in this
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
553 mode (unless you have set the 'insertmode' option,
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
554 see below). This is also known as command mode.
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
555
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
556 Visual mode This is like Normal mode, but the movement commands
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
557 extend a highlighted area. When a non-movement
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
558 command is used, it is executed for the highlighted
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
559 area. See |Visual-mode|.
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
560 If the 'showmode' option is on "-- VISUAL --" is shown
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
561 at the bottom of the window.
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
562
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
563 Select mode This looks most like the MS-Windows selection mode.
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
564 Typing a printable character deletes the selection
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
565 and starts Insert mode. See |Select-mode|.
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
566 If the 'showmode' option is on "-- SELECT --" is shown
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
567 at the bottom of the window.
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
568
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
569 Insert mode In Insert mode the text you type is inserted into the
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
570 buffer. See |Insert-mode|.
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
571 If the 'showmode' option is on "-- INSERT --" is shown
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
572 at the bottom of the window.
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
573
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
574 Command-line mode In Command-line mode (also called Cmdline mode) you
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
575 Cmdline mode can enter one line of text at the bottom of the
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
576 window. This is for the Ex commands, ":", the pattern
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
577 search commands, "?" and "/", and the filter command,
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
578 "!". |Cmdline-mode|
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
579
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
580 Ex mode Like Command-line mode, but after entering a command
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
581 you remain in Ex mode. Very limited editing of the
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
582 command line. |Ex-mode|
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
583
12045
444ad56c0cac Update runtime files.
Christian Brabandt <cb@256bit.org>
parents: 11914
diff changeset
584 Terminal-Job mode Interacting with a job in a terminal window. Typed
444ad56c0cac Update runtime files.
Christian Brabandt <cb@256bit.org>
parents: 11914
diff changeset
585 keys go to the job and the job output is displayed in
444ad56c0cac Update runtime files.
Christian Brabandt <cb@256bit.org>
parents: 11914
diff changeset
586 the terminal window. See |terminal| about how to
444ad56c0cac Update runtime files.
Christian Brabandt <cb@256bit.org>
parents: 11914
diff changeset
587 switch to other modes.
444ad56c0cac Update runtime files.
Christian Brabandt <cb@256bit.org>
parents: 11914
diff changeset
588
11914
4f7081eb1e26 Updated runtime files
Christian Brabandt <cb@256bit.org>
parents: 11763
diff changeset
589 There are seven ADDITIONAL modes. These are variants of the BASIC modes:
7
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
590
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
591 *Operator-pending* *Operator-pending-mode*
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
592 Operator-pending mode This is like Normal mode, but after an operator
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
593 command has started, and Vim is waiting for a {motion}
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
594 to specify the text that the operator will work on.
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
595
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
596 Replace mode Replace mode is a special case of Insert mode. You
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
597 can do the same things as in Insert mode, but for
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
598 each character you enter, one character of the existing
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
599 text is deleted. See |Replace-mode|.
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
600 If the 'showmode' option is on "-- REPLACE --" is
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
601 shown at the bottom of the window.
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
602
1624
18ee39301b82 updated for version 7.2a
vimboss
parents: 1272
diff changeset
603 Virtual Replace mode Virtual Replace mode is similar to Replace mode, but
18ee39301b82 updated for version 7.2a
vimboss
parents: 1272
diff changeset
604 instead of file characters you are replacing screen
18ee39301b82 updated for version 7.2a
vimboss
parents: 1272
diff changeset
605 real estate. See |Virtual-Replace-mode|.
18ee39301b82 updated for version 7.2a
vimboss
parents: 1272
diff changeset
606 If the 'showmode' option is on "-- VREPLACE --" is
18ee39301b82 updated for version 7.2a
vimboss
parents: 1272
diff changeset
607 shown at the bottom of the window.
18ee39301b82 updated for version 7.2a
vimboss
parents: 1272
diff changeset
608
14519
5c5908e81e93 Update runtime files.
Christian Brabandt <cb@256bit.org>
parents: 14421
diff changeset
609 Insert Normal mode Entered when CTRL-O is typed in Insert mode (see
5c5908e81e93 Update runtime files.
Christian Brabandt <cb@256bit.org>
parents: 14421
diff changeset
610 |i_CTRL-O|). This is like Normal mode, but after
5c5908e81e93 Update runtime files.
Christian Brabandt <cb@256bit.org>
parents: 14421
diff changeset
611 executing one command Vim returns to Insert mode.
7
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
612 If the 'showmode' option is on "-- (insert) --" is
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
613 shown at the bottom of the window.
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
614
12045
444ad56c0cac Update runtime files.
Christian Brabandt <cb@256bit.org>
parents: 11914
diff changeset
615 Terminal-Normal mode Using Normal mode in a terminal window. Making
444ad56c0cac Update runtime files.
Christian Brabandt <cb@256bit.org>
parents: 11914
diff changeset
616 changes is impossible. Use an insert command, such as
444ad56c0cac Update runtime files.
Christian Brabandt <cb@256bit.org>
parents: 11914
diff changeset
617 "a" or "i", to return to Terminal-Job mode.
11914
4f7081eb1e26 Updated runtime files
Christian Brabandt <cb@256bit.org>
parents: 11763
diff changeset
618
7
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
619 Insert Visual mode Entered when starting a Visual selection from Insert
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
620 mode, e.g., by using CTRL-O and then "v", "V" or
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
621 CTRL-V. When the Visual selection ends, Vim returns
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
622 to Insert mode.
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
623 If the 'showmode' option is on "-- (insert) VISUAL --"
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
624 is shown at the bottom of the window.
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
625
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
626 Insert Select mode Entered when starting Select mode from Insert mode.
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
627 E.g., by dragging the mouse or <S-Right>.
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
628 When the Select mode ends, Vim returns to Insert mode.
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
629 If the 'showmode' option is on "-- (insert) SELECT --"
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
630 is shown at the bottom of the window.
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
631
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
632 ==============================================================================
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
633 6. Switching from mode to mode *mode-switching*
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
634
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
635 If for any reason you do not know which mode you are in, you can always get
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
636 back to Normal mode by typing <Esc> twice. This doesn't work for Ex mode
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
637 though, use ":visual".
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
638 You will know you are back in Normal mode when you see the screen flash or
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
639 hear the bell after you type <Esc>. However, when pressing <Esc> after using
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
640 CTRL-O in Insert mode you get a beep but you are still in Insert mode, type
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
641 <Esc> again.
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
642
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
643 *i_esc*
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
644 TO mode ~
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
645 Normal Visual Select Insert Replace Cmd-line Ex ~
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
646 FROM mode ~
1624
18ee39301b82 updated for version 7.2a
vimboss
parents: 1272
diff changeset
647 Normal v V ^V *4 *1 R gR : / ? ! Q
7
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
648 Visual *2 ^G c C -- : --
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
649 Select *5 ^O ^G *6 -- -- --
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
650 Insert <Esc> -- -- <Insert> -- --
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
651 Replace <Esc> -- -- <Insert> -- --
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
652 Command-line *3 -- -- :start -- --
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
653 Ex :vi -- -- -- -- --
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
654
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
655 -- not possible
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
656
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
657 *1 Go from Normal mode to Insert mode by giving the command "i", "I", "a",
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
658 "A", "o", "O", "c", "C", "s" or S".
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
659 *2 Go from Visual mode to Normal mode by giving a non-movement command, which
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
660 causes the command to be executed, or by hitting <Esc> "v", "V" or "CTRL-V"
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
661 (see |v_v|), which just stops Visual mode without side effects.
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
662 *3 Go from Command-line mode to Normal mode by:
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
663 - Hitting <CR> or <NL>, which causes the entered command to be executed.
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
664 - Deleting the complete line (e.g., with CTRL-U) and giving a final <BS>.
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
665 - Hitting CTRL-C or <Esc>, which quits the command-line without executing
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
666 the command.
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
667 In the last case <Esc> may be the character defined with the 'wildchar'
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
668 option, in which case it will start command-line completion. You can
16610
1eaf34420bb3 Update runtime files
Bram Moolenaar <Bram@vim.org>
parents: 16553
diff changeset
669 ignore that and type <Esc> again.
7
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
670 *4 Go from Normal to Select mode by:
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
671 - use the mouse to select text while 'selectmode' contains "mouse"
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
672 - use a non-printable command to move the cursor while keeping the Shift
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
673 key pressed, and the 'selectmode' option contains "key"
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
674 - use "v", "V" or "CTRL-V" while 'selectmode' contains "cmd"
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
675 - use "gh", "gH" or "g CTRL-H" |g_CTRL-H|
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
676 *5 Go from Select mode to Normal mode by using a non-printable command to move
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
677 the cursor, without keeping the Shift key pressed.
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
678 *6 Go from Select mode to Insert mode by typing a printable character. The
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
679 selection is deleted and the character is inserted.
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
680
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
681 If the 'insertmode' option is on, editing a file will start in Insert mode.
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
682
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
683 *CTRL-\_CTRL-N* *i_CTRL-\_CTRL-N* *c_CTRL-\_CTRL-N* *v_CTRL-\_CTRL-N*
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
684 Additionally the command CTRL-\ CTRL-N or <C-\><C-N> can be used to go to
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
685 Normal mode from any other mode. This can be used to make sure Vim is in
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
686 Normal mode, without causing a beep like <Esc> would. However, this does not
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
687 work in Ex mode. When used after a command that takes an argument, such as
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
688 |f| or |m|, the timeout set with 'ttimeoutlen' applies.
23466
15fa3923cc49 Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents: 23305
diff changeset
689 When focus is in a terminal window, CTRL-\ CTRL-N goes to Normal mode until an
15fa3923cc49 Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents: 23305
diff changeset
690 edit command is entered, see |t_CTRL-\_CTRL-N|.
7
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
691
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
692 *CTRL-\_CTRL-G* *i_CTRL-\_CTRL-G* *c_CTRL-\_CTRL-G* *v_CTRL-\_CTRL-G*
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
693 The command CTRL-\ CTRL-G or <C-\><C-G> can be used to go to Insert mode when
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
694 'insertmode' is set. Otherwise it goes to Normal mode. This can be used to
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
695 make sure Vim is in the mode indicated by 'insertmode', without knowing in
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
696 what mode Vim currently is.
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
697
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
698 *Q* *mode-Ex* *Ex-mode* *Ex* *EX* *E501*
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
699 Q Switch to "Ex" mode. This is a bit like typing ":"
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
700 commands one after another, except:
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
701 - You don't have to keep pressing ":".
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
702 - The screen doesn't get updated after each command.
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
703 - There is no normal command-line editing.
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
704 - Mappings and abbreviations are not used.
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
705 In fact, you are editing the lines with the "standard"
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
706 line-input editing commands (<Del> or <BS> to erase,
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
707 CTRL-U to kill the whole line).
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
708 Vim will enter this mode by default if it's invoked as
29403
03e3b0034e31 Update runtime files
Bram Moolenaar <Bram@vim.org>
parents: 29314
diff changeset
709 "ex" on the command-line or the |-e| command line
03e3b0034e31 Update runtime files
Bram Moolenaar <Bram@vim.org>
parents: 29314
diff changeset
710 argument was used.
7
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
711 Use the ":vi" command |:visual| to exit "Ex" mode.
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
712 Note: In older versions of Vim "Q" formatted text,
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
713 that is now done with |gq|. But if you use the
28010
c968191a8557 Update runtime files
Bram Moolenaar <Bram@vim.org>
parents: 25880
diff changeset
714 |vimrc_example.vim| script or |defaults.vim|, "Q"
c968191a8557 Update runtime files
Bram Moolenaar <Bram@vim.org>
parents: 25880
diff changeset
715 works like "gq". Except for Select mode.
7
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
716
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
717 *gQ*
161
6df0106fc595 updated for version 7.0049
vimboss
parents: 39
diff changeset
718 gQ Switch to "Ex" mode like with "Q", but really behave
6df0106fc595 updated for version 7.0049
vimboss
parents: 39
diff changeset
719 like typing ":" commands after another. All command
6df0106fc595 updated for version 7.0049
vimboss
parents: 39
diff changeset
720 line editing, completion etc. is available.
29403
03e3b0034e31 Update runtime files
Bram Moolenaar <Bram@vim.org>
parents: 29314
diff changeset
721 Use the `:vi` command (`:visual`) to exit "Ex" mode.
7
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
722
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
723 ==============================================================================
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
724 7. The window contents *window-contents*
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
725
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
726 In Normal mode and Insert/Replace mode the screen window will show the current
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
727 contents of the buffer: What You See Is What You Get. There are two
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
728 exceptions:
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
729 - When the 'cpoptions' option contains '$', and the change is within one line,
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
730 the text is not directly deleted, but a '$' is put at the last deleted
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
731 character.
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
732 - When inserting text in one window, other windows on the same text are not
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
733 updated until the insert is finished.
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
734
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
735 Lines longer than the window width will wrap, unless the 'wrap' option is off
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
736 (see below). The 'linebreak' option can be set to wrap at a blank character.
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
737
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
738 If the window has room after the last line of the buffer, Vim will show '~' in
2642
840c3cadb842 Updated runtime files.
Bram Moolenaar <bram@vim.org>
parents: 2596
diff changeset
739 the first column of the last lines in the window, like this:
7
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
740
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
741 +-----------------------+
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
742 |some line |
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
743 |last line |
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
744 |~ |
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
745 |~ |
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
746 +-----------------------+
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
747
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
748 Thus the '~' lines indicate that the end of the buffer was reached.
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
749
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
750 If the last line in a window doesn't fit, Vim will indicate this with a '@' in
2642
840c3cadb842 Updated runtime files.
Bram Moolenaar <bram@vim.org>
parents: 2596
diff changeset
751 the first column of the last lines in the window, like this:
7
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
752
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
753 +-----------------------+
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
754 |first line |
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
755 |second line |
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
756 |@ |
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
757 |@ |
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
758 +-----------------------+
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
759
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
760 Thus the '@' lines indicate that there is a line that doesn't fit in the
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
761 window.
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
762
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
763 When the "lastline" flag is present in the 'display' option, you will not see
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
764 '@' characters at the left side of window. If the last line doesn't fit
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
765 completely, only the part that fits is shown, and the last three characters of
2662
916c90b37ea9 Update runtime files.
Bram Moolenaar <bram@vim.org>
parents: 2642
diff changeset
766 the last line are replaced with "@@@", like this:
7
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
767
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
768 +-----------------------+
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
769 |first line |
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
770 |second line |
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
771 |a very long line that d|
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
772 |oesn't fit in the wi@@@|
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
773 +-----------------------+
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
774
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
775 If there is a single line that is too long to fit in the window, this is a
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
776 special situation. Vim will show only part of the line, around where the
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
777 cursor is. There are no special characters shown, so that you can edit all
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
778 parts of this line.
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
779
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
780 The '@' occasion in the 'highlight' option can be used to set special
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
781 highlighting for the '@' and '~' characters. This makes it possible to
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
782 distinguish them from real characters in the buffer.
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
783
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
784 The 'showbreak' option contains the string to put in front of wrapped lines.
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
785
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
786 *wrap-off*
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
787 If the 'wrap' option is off, long lines will not wrap. Only the part that
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
788 fits on the screen is shown. If the cursor is moved to a part of the line
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
789 that is not shown, the screen is scrolled horizontally. The advantage of
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
790 this method is that columns are shown as they are and lines that cannot fit
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
791 on the screen can be edited. The disadvantage is that you cannot see all the
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
792 characters of a line at once. The 'sidescroll' option can be set to the
16610
1eaf34420bb3 Update runtime files
Bram Moolenaar <Bram@vim.org>
parents: 16553
diff changeset
793 minimal number of columns to scroll.
7
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
794
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
795 All normal ASCII characters are displayed directly on the screen. The <Tab>
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
796 is replaced with the number of spaces that it represents. Other non-printing
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
797 characters are replaced with "^{char}", where {char} is the non-printing
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
798 character with 64 added. Thus character 7 (bell) will be shown as "^G".
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
799 Characters between 127 and 160 are replaced with "~{char}", where {char} is
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
800 the character with 64 subtracted. These characters occupy more than one
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
801 position on the screen. The cursor can only be positioned on the first one.
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
802
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
803 If you set the 'number' option, all lines will be preceded with their
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
804 number. Tip: If you don't like wrapping lines to mix with the line numbers,
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
805 set the 'showbreak' option to eight spaces:
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
806 ":set showbreak=\ \ \ \ \ \ \ \ "
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
807
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
808 If you set the 'list' option, <Tab> characters will not be shown as several
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
809 spaces, but as "^I". A '$' will be placed at the end of the line, so you can
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
810 find trailing blanks.
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
811
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
812 In Command-line mode only the command-line itself is shown correctly. The
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
813 display of the buffer contents is updated as soon as you go back to Command
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
814 mode.
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
815
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
816 The last line of the window is used for status and other messages. The
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
817 status messages will only be used if an option is on:
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
818
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
819 status message option default Unix default ~
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
820 current mode 'showmode' on on
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
821 command characters 'showcmd' on off
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
822 cursor position 'ruler' off off
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
823
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
824 The current mode is "-- INSERT --" or "-- REPLACE --", see |'showmode'|. The
16610
1eaf34420bb3 Update runtime files
Bram Moolenaar <Bram@vim.org>
parents: 16553
diff changeset
825 command characters are those that you typed but were not used yet.
7
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
826
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
827 If you have a slow terminal you can switch off the status messages to speed
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
828 up editing:
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
829 :set nosc noru nosm
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
830
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
831 If there is an error, an error message will be shown for at least one second
16610
1eaf34420bb3 Update runtime files
Bram Moolenaar <Bram@vim.org>
parents: 16553
diff changeset
832 (in reverse video).
7
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
833
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
834 Some commands show how many lines were affected. Above which threshold this
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
835 happens can be controlled with the 'report' option (default 2).
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
836
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
837 On the Amiga Vim will run in a CLI window. The name Vim and the full name of
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
838 the current file name will be shown in the title bar. When the window is
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
839 resized, Vim will automatically redraw the window. You may make the window as
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
840 small as you like, but if it gets too small not a single line will fit in it.
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
841 Make it at least 40 characters wide to be able to read most messages on the
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
842 last line.
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
843
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
844 On most Unix systems, resizing the window is recognized and handled correctly
16610
1eaf34420bb3 Update runtime files
Bram Moolenaar <Bram@vim.org>
parents: 16553
diff changeset
845 by Vim.
7
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
846
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
847 ==============================================================================
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
848 8. Definitions *definitions*
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
849
12254
8d76a56861ec Update runtime files
Christian Brabandt <cb@256bit.org>
parents: 12045
diff changeset
850 buffer Contains lines of text, usually read from a file.
7
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
851 screen The whole area that Vim uses to work in. This can be
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
852 a terminal emulator window. Also called "the Vim
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
853 window".
12254
8d76a56861ec Update runtime files
Christian Brabandt <cb@256bit.org>
parents: 12045
diff changeset
854 window A view on a buffer. There can be multiple windows for
8d76a56861ec Update runtime files
Christian Brabandt <cb@256bit.org>
parents: 12045
diff changeset
855 one buffer.
7
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
856
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
857 A screen contains one or more windows, separated by status lines and with the
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
858 command line at the bottom.
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
859
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
860 +-------------------------------+
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
861 screen | window 1 | window 2 |
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
862 | | |
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
863 | | |
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
864 |= status line =|= status line =|
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
865 | window 3 |
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
866 | |
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
867 | |
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
868 |==== status line ==============|
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
869 |command line |
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
870 +-------------------------------+
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
871
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
872 The command line is also used for messages. It scrolls up the screen when
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
873 there is not enough room in the command line.
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
874
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
875 A difference is made between four types of lines:
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
876
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
877 buffer lines The lines in the buffer. This is the same as the
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
878 lines as they are read from/written to a file. They
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
879 can be thousands of characters long.
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
880 logical lines The buffer lines with folding applied. Buffer lines
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
881 in a closed fold are changed to a single logical line:
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
882 "+-- 99 lines folded". They can be thousands of
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
883 characters long.
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
884 window lines The lines displayed in a window: A range of logical
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
885 lines with wrapping, line breaks, etc. applied. They
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
886 can only be as long as the width of the window allows,
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
887 longer lines are wrapped or truncated.
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
888 screen lines The lines of the screen that Vim uses. Consists of
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
889 the window lines of all windows, with status lines
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
890 and the command line added. They can only be as long
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
891 as the width of the screen allows. When the command
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
892 line gets longer it wraps and lines are scrolled to
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
893 make room.
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
894
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
895 buffer lines logical lines window lines screen lines ~
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
896
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
897 1. one 1. one 1. +-- folded 1. +-- folded
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
898 2. two 2. +-- folded 2. five 2. five
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
899 3. three 3. five 3. six 3. six
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
900 4. four 4. six 4. seven 4. seven
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
901 5. five 5. seven 5. === status line ===
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
902 6. six 6. aaa
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
903 7. seven 7. bbb
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
904 8. ccc ccc c
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
905 1. aaa 1. aaa 1. aaa 9. cc
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
906 2. bbb 2. bbb 2. bbb 10. ddd
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
907 3. ccc ccc ccc 3. ccc ccc ccc 3. ccc ccc c 11. ~
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
908 4. ddd 4. ddd 4. cc 12. === status line ===
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
909 5. ddd 13. (command line)
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
910 6. ~
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
911
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
912 ==============================================================================
14421
2f7e67dd088c Update runtime files.
Christian Brabandt <cb@256bit.org>
parents: 13963
diff changeset
913 vim:tw=78:ts=8:noet:ft=help:norl: