Skip to content

Commit cfbc5ee

Browse files
committed
updated for version 7.0004
1 parent 843ee41 commit cfbc5ee

57 files changed

Lines changed: 2248 additions & 433 deletions

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

runtime/doc/autocmd.txt

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
*autocmd.txt* For Vim version 7.0aa. Last change: 2004 Jun 30
1+
*autocmd.txt* For Vim version 7.0aa. Last change: 2004 Jul 01
22

33

44
VIM REFERENCE MANUAL by Bram Moolenaar
@@ -486,6 +486,8 @@ InsertLeave When leaving Insert mode. Also when using
486486
*FileEncoding*
487487
FileEncoding Obsolete. It still works and is equivalent
488488
to |EncodingChanged|.
489+
*ColorScheme*
490+
ColorScheme After loading a color scheme. |:colorscheme|
489491
*RemoteReply*
490492
RemoteReply When a reply from a Vim that functions as
491493
server was received |server2client()|.

runtime/doc/cmdline.txt

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
*cmdline.txt* For Vim version 7.0aa. Last change: 2004 Mar 31
1+
*cmdline.txt* For Vim version 7.0aa. Last change: 2004 Jul 01
22

33

44
VIM REFERENCE MANUAL by Bram Moolenaar
@@ -45,12 +45,13 @@ thus you cannot edit beyond that.
4545

4646
*cmdline-history* *history*
4747
The command-lines that you enter are remembered in a history table. You can
48-
recall them with the up and down cursor keys. There are actually four
48+
recall them with the up and down cursor keys. There are actually five
4949
history tables:
5050
- one for ':' commands
5151
- one for search strings
5252
- one for expressions
5353
- one for input lines, typed for the |input()| function.
54+
- one for debug mode commands
5455
These are completely separate. Each history can only be accessed when
5556
entering the same type of line.
5657
Use the 'history' option to set the number of lines that are remembered
@@ -305,6 +306,7 @@ terminals)
305306
s[earch] or / search string history
306307
e[xpr] or = expression register history
307308
i[nput] or @ input line history
309+
d[ebug] or > debug command history
308310
a[ll] all of the above
309311
{not in Vi}
310312

runtime/doc/gui_x11.txt

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
*gui_x11.txt* For Vim version 7.0aa. Last change: 2004 Mar 16
1+
*gui_x11.txt* For Vim version 7.0aa. Last change: 2004 Jul 02
22

33

44
VIM REFERENCE MANUAL by Bram Moolenaar
@@ -435,7 +435,7 @@ the WM to identify the window by restoring the window role (using the |--role|
435435
command line argument).
436436

437437
==============================================================================
438-
7. KDE version *gui-kde* *KDE* *KVim*
438+
7. KDE version *gui-kde* *kde* *KDE* *KVim*
439439

440440
The KDE version of Vim works with KDE 2.x and KDE 3.x.
441441
KVim (name code for gui-kde) does not use traditional X settings for its

runtime/doc/hangulin.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -96,6 +96,6 @@ Bug or Comment
9696
Send comments, patches and suggestions to:
9797

9898
Chi-Deok Hwang <hwang@mizi.co.kr>
99-
Nam SungHyun <namsh@lge.com>
99+
Nam SungHyun <namsh@kldp.org>
100100

101101
vim:tw=78:ts=8:ft=help:norl:

runtime/doc/index.txt

Lines changed: 11 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
*index.txt* For Vim version 7.0aa. Last change: 2004 Jun 16
1+
*index.txt* For Vim version 7.0aa. Last change: 2004 Jul 02
22

33

44
VIM REFERENCE MANUAL by Bram Moolenaar
@@ -89,7 +89,7 @@ tag char action ~
8989
|i_CTRL-V_digit| CTRL-V {number} insert three digit decimal number as a single
9090
byte.
9191
|i_CTRL-W| CTRL-W delete word before the cursor
92-
|i_CTRL-X| CTRL-X {mode} enter CTRL-X sub mode, see below
92+
|i_CTRL-X| CTRL-X {mode} enter CTRL-X sub mode, see |i_CTRL-X_index|
9393
|i_CTRL-Y| CTRL-Y insert the character which is above the cursor
9494
|i_CTRL-Z| CTRL-Z when 'insertmode' set: suspend Vim
9595
|i_<Esc>| <Esc> end insert mode (unless 'insertmode' set)
@@ -141,7 +141,7 @@ tag char action ~
141141
|i_<MouseUp>| <MouseUp> scroll three lines upwards
142142
|i_<S-MouseUp>| <S-MouseUp> scroll a full page upwards
143143

144-
commands in CTRL-X submode
144+
commands in CTRL-X submode *i_CTRL-X_index*
145145

146146
|i_CTRL-X_CTRL-D| CTRL-X CTRL-D complete defined identifiers
147147
|i_CTRL-X_CTRL-E| CTRL-X CTRL-E scroll up
@@ -153,6 +153,8 @@ commands in CTRL-X submode
153153
|i_CTRL-X_CTRL-P| CTRL-X CTRL-P previous completion
154154
|i_CTRL-X_CTRL-T| CTRL-X CTRL-T complete identifiers from thesaurus
155155
|i_CTRL-X_CTRL-Y| CTRL-X CTRL-Y scroll down
156+
|i_CTRL-X_CTRL-U| CTRL-X CTRL-U complete with 'completefunc'
157+
|i_CTRL-X_CTRL-V| CTRL-X CTRL-V complete like in : command line
156158
|i_CTRL-X_CTRL-]| CTRL-X CTRL-] complete tags
157159
{not available when compiled without the +insert_expand feature}
158160

@@ -449,6 +451,8 @@ These can be used after an operator or in Visual mode to select an object.
449451

450452
tag command action in Normal mode ~
451453
------------------------------------------------------------------------------
454+
|v_aquote| a" double quoted string
455+
|v_a'| a' single quoted string
452456
|v_a(| a( same as ab
453457
|v_a)| a) same as ab
454458
|v_a<| a< "a <>" from '<' to the matching '>'
@@ -457,12 +461,15 @@ tag command action in Normal mode ~
457461
|v_aW| aW "a WORD" (with white space)
458462
|v_a[| a[ "a []" from '[' to the matching ']'
459463
|v_a]| a] same as a[
464+
|v_a`| a` string in backticks
460465
|v_ab| ab "a block" from "[(" to "])" (with braces)
461466
|v_ap| ap "a paragraph" (with white space)
462467
|v_as| as "a sentence" (with white space)
463468
|v_aw| aw "a word" (with white space)
464469
|v_a{| a{ same as aB
465470
|v_a}| a} same as aB
471+
|v_iquote| i" double quoted string without the quotes
472+
|v_i'| i' single quoted string without the quotes
466473
|v_i(| i( same as ib
467474
|v_i)| i) same as ib
468475
|v_i<| i< "inner <>" from '<' to the matching '>'
@@ -471,6 +478,7 @@ tag command action in Normal mode ~
471478
|v_iW| iW "inner WORD"
472479
|v_i[| i[ "inner []" from '[' to the matching ']'
473480
|v_i]| i] same as i[
481+
|v_i`| i` string in backticks without the backticks
474482
|v_ib| ib "inner block" from "[(" to "])"
475483
|v_ip| ip "inner paragraph"
476484
|v_is| is "inner sentence"

runtime/doc/insert.txt

Lines changed: 18 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
*insert.txt* For Vim version 7.0aa. Last change: 2004 Jun 24
1+
*insert.txt* For Vim version 7.0aa. Last change: 2004 Jul 02
22

33

44
VIM REFERENCE MANUAL by Bram Moolenaar
@@ -854,6 +854,23 @@ CTRL-X CTRL-V Guess what kind of item is in front of the cursor and
854854
completion, for example: >
855855
:imap <Tab> <C-X><C-V>
856856
857+
User defined completing *compl-function*
858+
859+
Completion is done by a function that can be defined by the user with the
860+
'completefunc' option. See the option for how the function is called and an
861+
example.
862+
863+
*i_CTRL-X_CTRL-U*
864+
CTRL-X CTRL-U Guess what kind of item is in front of the cursor and
865+
find the first match for it.
866+
CTRL-U or
867+
CTRL-N Use the next match. This match replaces the previous
868+
one.
869+
870+
CTRL-P Use the previous match. This match replaces the
871+
previous one.
872+
873+
857874
Completing keywords from different sources *compl-generic*
858875

859876
*i_CTRL-N*

runtime/doc/mbyte.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1360,7 +1360,7 @@ options.txt for detailed information.
13601360

13611361
Contributions specifically for the multi-byte features by:
13621362
Chi-Deok Hwang <hwang@mizi.co.kr>
1363-
Nam SungHyun <namsh@lge.com>
1363+
Nam SungHyun <namsh@kldp.org>
13641364
K.Nagano <nagano@atese.advantest.co.jp>
13651365
Taro Muraoka <koron@tka.att.ne.jp>
13661366
Yasuhiro Matsumoto <mattn@mail.goo.ne.jp>

runtime/doc/motion.txt

Lines changed: 21 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
*motion.txt* For Vim version 7.0aa. Last change: 2004 Jun 17
1+
*motion.txt* For Vim version 7.0aa. Last change: 2004 Jul 02
22

33

44
VIM REFERENCE MANUAL by Bram Moolenaar
@@ -597,6 +597,26 @@ iB "inner Block", select [count] Blocks, from "[count] [{"
597597
|[{|).
598598
When used in Visual mode it is made characterwise.
599599

600+
a" *v_aquote* *aquote*
601+
a' *v_a'* *a'*
602+
a` *v_a`* *a`*
603+
"a quoted string". Selects the text from the previous
604+
quote until the next quote. The 'quoteescape' is used
605+
to skip escaped quotes.
606+
When the cursor starts on a quote, Vim will figure out
607+
which quote pairs form a string by searching from the
608+
start of the line.
609+
Any trailing or leading white space is included.
610+
When used in Visual mode it is made characterwise.
611+
Repeating this object in Visual mode another string is
612+
included. A count is currently not used.
613+
614+
i" *v_iquote* *iquote*
615+
i' *v_i'* *i'*
616+
i` *v_i`* *i`*
617+
Like a", a' and a`, but exclude the quotes and
618+
repeating won't extend the Visual selection.
619+
600620
When used after an operator:
601621
For non-block objects:
602622
For the "a" commands: The operator applies to the object and the white

runtime/doc/options.txt

Lines changed: 61 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
*options.txt* For Vim version 7.0aa. Last change: 2004 Jun 28
1+
*options.txt* For Vim version 7.0aa. Last change: 2004 Jul 02
22

33

44
VIM REFERENCE MANUAL by Bram Moolenaar
@@ -1514,6 +1514,51 @@ A jump table for the options with a short description can be found at |Q_op|.
15141514
based expansion (eg dictionary |i_CTRL-X_CTRL-K|, included patterns
15151515
|i_CTRL-X_CTRL-I|, tags |i_CTRL-X_CTRL-]| and normal expansions)
15161516

1517+
*'completefunc'* *'cfu'*
1518+
'completefunc' 'cfu' string (default: empty)
1519+
local to buffer
1520+
{not in Vi}
1521+
This option specifies a completion function to be used for CTRL-X
1522+
CTRL-X. The function will be invoked with four arguments:
1523+
a:line the text of the current line
1524+
a:base the text with which matches should match
1525+
a:col column in a:line where the cursor is, first column is
1526+
zero
1527+
a:findstart either 1 or 0
1528+
When the a:findstart argument is 1, the function must return the
1529+
column of where the completion starts. It must be a number between
1530+
zero and "a:col". This involves looking at the characters in a:line
1531+
before column a:col and include those characters that could be part of
1532+
the completed item.
1533+
When the a:findstart argument is 0 the function must return a string
1534+
with the matching words, separated by newlines. When there are no
1535+
matches return an empty string.
1536+
An example that completes the names of the months: >
1537+
fun! CompleteMonths(line, base, col, findstart)
1538+
if a:findstart
1539+
" locate start column of word
1540+
let start = a:col
1541+
while start > 0 && a:line[start - 1] =~ '\a'
1542+
let start = start - 1
1543+
endwhile
1544+
return start
1545+
else
1546+
" find months matching with "a:base"
1547+
let res = "Jan Feb Mar Apr May Jun Jul Aug Sep Oct Nov Dec"
1548+
if a:base != ''
1549+
let res = substitute(res, '\c\<\(\(' . a:base . '.\{-}\>\)\|.\{-}\>\)', '\2', 'g')
1550+
endif
1551+
let res = substitute(res, ' \+', "\n", 'g')
1552+
return res
1553+
endif
1554+
endfun
1555+
set completefunc=CompleteMonths
1556+
< Note that a substitute() function is used to reduce the list of
1557+
possible values and remove the ones that don't match the base. The
1558+
part before the "\|" matches the base, the part after it is used
1559+
when there is no match. The "\2" in the replacement is empty if the
1560+
part before the "\|" does not match.
1561+
15171562
*'confirm'* *'cf'* *'noconfirm'* *'nocf'*
15181563
'confirm' 'cf' boolean (default off)
15191564
global
@@ -3082,6 +3127,7 @@ A jump table for the options with a short description can be found at |Q_op|.
30823127
hidden although the 'hidden' option is off: When the buffer is
30833128
modified, 'autowrite' is off or writing is not possible, and the '!'
30843129
flag was used. See also |windows.txt|.
3130+
To only make one buffer hidden use the 'bufhidden' option.
30853131
This option is set for one command with ":hide {command}" |:hide|.
30863132
WARNING: It's easy to forget that you have changes in hidden buffers.
30873133
Think twice when using ":q!" or ":qa!".
@@ -3835,17 +3881,19 @@ A jump table for the options with a short description can be found at |Q_op|.
38353881
precedes:c Character to show in the first column, when 'wrap'
38363882
is off and there is text preceding the character
38373883
visible in the first column.
3884+
nbsp:c Character to show for non-breakable space. Left to
3885+
blank when omitted.
38383886

38393887
The characters ':' and ',' should not be used. UTF-8 characters can
38403888
be used when 'encoding' is "utf-8", otherwise only printable
38413889
characters are allowed.
38423890

38433891
Examples: >
38443892
:set lcs=tab:>-,trail:-
3845-
:set lcs=tab:>-,eol:<
3893+
:set lcs=tab:>-,eol:<,nbsp:%
38463894
:set lcs=extends:>,precedes:<
38473895
< The "NonText" highlighting will be used for "eol", "extends" and
3848-
"precedes". "SpecialKey" for "tab" and "trail".
3896+
"precedes". "SpecialKey" for "nbsp", "tab" and "trail".
38493897

38503898
*'lpl'* *'nolpl'* *'loadplugins'* *'noloadplugins'*
38513899
'loadplugins' 'lpl' boolean (default on)
@@ -4652,6 +4700,16 @@ A jump table for the options with a short description can be found at |Q_op|.
46524700
Example: >
46534701
:set printoptions=paper:letter,duplex:off
46544702
<
4703+
*'quoteescape''* *'qe'*
4704+
'quoteescape' 'qe' string (default "\")
4705+
local to buffer
4706+
{not in Vi}
4707+
The characters that are used to escape quotes in a string. Used for
4708+
objects like a', a" and a` |a'|.
4709+
When one of the characters in this option is found inside a string,
4710+
the following character will be skipped. The default value makes the
4711+
text "foo\"bar\\" considered to be one string.
4712+
46554713
*'readonly'* *'ro'* *'noreadonly'* *'noro'*
46564714
'readonly' 'ro' boolean (default off)
46574715
local to buffer

0 commit comments

Comments
 (0)