forked from aniani/vim
updated for version 7.0061
This commit is contained in:
@@ -1,4 +1,4 @@
|
|||||||
*todo.txt* For Vim version 7.0aa. Last change: 2005 Mar 15
|
*todo.txt* For Vim version 7.0aa. Last change: 2005 Mar 18
|
||||||
|
|
||||||
|
|
||||||
VIM REFERENCE MANUAL by Bram Moolenaar
|
VIM REFERENCE MANUAL by Bram Moolenaar
|
||||||
@@ -30,22 +30,21 @@ be worked on, but only if you sponsor Vim development. See |sponsor|.
|
|||||||
*known-bugs*
|
*known-bugs*
|
||||||
-------------------- Known bugs and current work -----------------------
|
-------------------- Known bugs and current work -----------------------
|
||||||
|
|
||||||
"gq" should always leave the cursor after the formatted text, also when using
|
Fix for executable new file also in 6.3.
|
||||||
'formatprg'.
|
|
||||||
|
|
||||||
More commands like ":argadd" that should not have COUNT?
|
Installing manual pages: FreeBSD includes encoding "it.ISO8859-1". Install in
|
||||||
|
"it" and "it.ISO8859-1"?
|
||||||
|
Russian manual needs to be in UTF-8 for RedHat, KOI8-R for Gentoo.
|
||||||
|
UTF-8 files from Ragosin (18 March).
|
||||||
|
|
||||||
- Added "undercurl" highlight attribute. Based on a patch from Marcin Dalecki.
|
- Added "undercurl" highlight attribute. Based on a patch from Marcin Dalecki.
|
||||||
Docs for "guisp=Red"
|
Docs for "guisp=Red"
|
||||||
Should add another byte for attributes, 200 types is not enough.
|
Added another byte for attributes, 200 types is not enough.
|
||||||
Implement "undercurl" for printing.
|
|
||||||
|
|
||||||
Mac unicode patch (Da Woon Jung):
|
Mac unicode patch (Da Woon Jung):
|
||||||
- selecting proportional font breaks display
|
- selecting proportional font breaks display
|
||||||
- UTF-8 text causes display problems. Font replacement causes this.
|
- UTF-8 text causes display problems. Font replacement causes this.
|
||||||
|
|
||||||
Changes to mode bits in mch_open() also in Vim 6.3? (Bjoern Voigt)
|
|
||||||
|
|
||||||
autoload:
|
autoload:
|
||||||
- Add a Vim script in $VIMRUNTIME/tools that takes a file with a list of
|
- Add a Vim script in $VIMRUNTIME/tools that takes a file with a list of
|
||||||
script names and a help file and produces a script that can be sourced to
|
script names and a help file and produces a script that can be sourced to
|
||||||
@@ -66,6 +65,7 @@ Awaiting response:
|
|||||||
PLANNED FOR VERSION 7.0:
|
PLANNED FOR VERSION 7.0:
|
||||||
|
|
||||||
- Add SPELLCHECKER, with easy to add support for many languages.
|
- Add SPELLCHECKER, with easy to add support for many languages.
|
||||||
|
- Highlighting: SpellBad, SpellRare, SpellDialect
|
||||||
- Need wordlists for many languages; "language pack"
|
- Need wordlists for many languages; "language pack"
|
||||||
- Commands required:
|
- Commands required:
|
||||||
enable/disable spellchecking: 'spell' option (local to win)
|
enable/disable spellchecking: 'spell' option (local to win)
|
||||||
@@ -74,7 +74,8 @@ PLANNED FOR VERSION 7.0:
|
|||||||
add word to private dict: wrong and OK (in popup menu for evim)
|
add word to private dict: wrong and OK (in popup menu for evim)
|
||||||
:spell good <word> zg
|
:spell good <word> zg
|
||||||
:spell wrong <word> zw
|
:spell wrong <word> zw
|
||||||
- Highlighting: SpellBad, SpellRare, SpellDialect
|
[s move to previous spell error [S also rare word
|
||||||
|
]s move to next spell error ]S also rare word
|
||||||
- "engspchk" from Charles Campbell is a good starting point.
|
- "engspchk" from Charles Campbell is a good starting point.
|
||||||
- Do not use an external program like ispell or aspell: too slow and
|
- Do not use an external program like ispell or aspell: too slow and
|
||||||
doesn't work everywhere.
|
doesn't work everywhere.
|
||||||
@@ -217,6 +218,8 @@ PLANNED FOR VERSION 7.0:
|
|||||||
- In a :s command multi-byte characters should also be upper/lower cased
|
- In a :s command multi-byte characters should also be upper/lower cased
|
||||||
with \u, \U, etc.
|
with \u, \U, etc.
|
||||||
|
|
||||||
|
Adjust src/main.aap for installing manpages like in Makefile.
|
||||||
|
|
||||||
Support ":set syntax=cpp.doxygen"? Suggested patch by Michael Geddes (9 Aug
|
Support ":set syntax=cpp.doxygen"? Suggested patch by Michael Geddes (9 Aug
|
||||||
2004). Should also work for 'filetype'.
|
2004). Should also work for 'filetype'.
|
||||||
|
|
||||||
@@ -1366,6 +1369,7 @@ Multi-byte characters:
|
|||||||
|
|
||||||
|
|
||||||
Printing:
|
Printing:
|
||||||
|
7 Implement "undercurl" for printing.
|
||||||
- Add "page width" to wrap long lines.
|
- Add "page width" to wrap long lines.
|
||||||
- Win32: use a font dialog for setting 'printfont'. Can reuse the code for
|
- Win32: use a font dialog for setting 'printfont'. Can reuse the code for
|
||||||
the 'guifont' dialog, put the common code in a separate function.
|
the 'guifont' dialog, put the common code in a separate function.
|
||||||
@@ -2620,6 +2624,8 @@ Searching:
|
|||||||
"g?" is already used for rot13.
|
"g?" is already used for rot13.
|
||||||
8 Add a mechanism for recursiveness: "\(([^()]*\@@[^()]*)\)\@r". \@@ stands
|
8 Add a mechanism for recursiveness: "\(([^()]*\@@[^()]*)\)\@r". \@@ stands
|
||||||
for "go recursive here" and \@r marks the recursive atom.
|
for "go recursive here" and \@r marks the recursive atom.
|
||||||
|
8 Add an item for a big character range, so that one can search for a
|
||||||
|
chinese character: \z[234-1234] or \z[XX-YY] or \z[0x23-0x234].
|
||||||
7 Add an item stack to allow matching (). One side is "push X on
|
7 Add an item stack to allow matching (). One side is "push X on
|
||||||
the stack if previous atom matched". Other side is "match with top of
|
the stack if previous atom matched". Other side is "match with top of
|
||||||
stack, pop it when it matches". Use "\@pX" and "\@m"?
|
stack, pop it when it matches". Use "\@pX" and "\@m"?
|
||||||
|
@@ -1,4 +1,4 @@
|
|||||||
*version7.txt* For Vim version 7.0aa. Last change: 2005 Mar 15
|
*version7.txt* For Vim version 7.0aa. Last change: 2005 Mar 18
|
||||||
|
|
||||||
|
|
||||||
VIM REFERENCE MANUAL by Bram Moolenaar
|
VIM REFERENCE MANUAL by Bram Moolenaar
|
||||||
@@ -580,6 +580,9 @@ Added the <xUp>, <xDown>, <xLeft> and <xRight> keys, to be able to recognize
|
|||||||
the two forms that xterm can send their codes in and still handle all possible
|
the two forms that xterm can send their codes in and still handle all possible
|
||||||
modifiers.
|
modifiers.
|
||||||
|
|
||||||
|
getwinvar() now also works to obtain a buffer-local option from the specified
|
||||||
|
window.
|
||||||
|
|
||||||
==============================================================================
|
==============================================================================
|
||||||
COMPILE TIME CHANGES *compile-changes-7*
|
COMPILE TIME CHANGES *compile-changes-7*
|
||||||
|
|
||||||
@@ -950,9 +953,6 @@ indirectly invokes ":normal".
|
|||||||
Diff mode failed when $DIFF_OPTIONS was set in the environment. Unset it
|
Diff mode failed when $DIFF_OPTIONS was set in the environment. Unset it
|
||||||
before invoking "diff".
|
before invoking "diff".
|
||||||
|
|
||||||
When renaming a file is done by making a copy (accross file systems), set the
|
|
||||||
permissions and ACL of the copy to those of the original file.
|
|
||||||
|
|
||||||
Completion didn't work after ":argdo", ":windo" and ":bufdo". Also for ":set
|
Completion didn't work after ":argdo", ":windo" and ":bufdo". Also for ":set
|
||||||
&l:opt" and ":set &g:opt". (Peter Winters)
|
&l:opt" and ":set &g:opt". (Peter Winters)
|
||||||
|
|
||||||
@@ -966,8 +966,25 @@ is received. Avoid invoking the autocommands from the function waiting for a
|
|||||||
character, let it put K_CURSORHOLD in the input buffer.
|
character, let it put K_CURSORHOLD in the input buffer.
|
||||||
|
|
||||||
Removed the "COUNT" flag from ":argadd", to avoid ":argadd 1*" to be used like
|
Removed the "COUNT" flag from ":argadd", to avoid ":argadd 1*" to be used like
|
||||||
":1argadd *".
|
":1argadd *". Same for ":argdelete" and ":argedit".
|
||||||
|
|
||||||
Avoid that $LANG is used for the menus when LC_MESSAGES is "en_US".
|
Avoid that $LANG is used for the menus when LC_MESSAGES is "en_US".
|
||||||
|
|
||||||
|
Added backslashes before dashes in the vim.1 manual page to make the appear as
|
||||||
|
real dashes. (Pierr Habouzit)
|
||||||
|
|
||||||
|
Where "gq" left the cursor depended on the value of 'formatprg'. Now "gq"
|
||||||
|
always leaves the cursor at the last line of the formatted text.
|
||||||
|
|
||||||
|
When editing a compressed file, such as "changelog.Debian.gz" file, filetype
|
||||||
|
detection may try to check the contents of the file while it's still
|
||||||
|
compressed. Skip setting 'filetype' for compressed files until they have been
|
||||||
|
decompressed. Required for patterns that end in a "*".
|
||||||
|
|
||||||
|
Starting with an argument "+cmd" or "-S script" causes the cursor the be moved
|
||||||
|
to the first line. That breaks a BufReadPost autocommand that uses g`".
|
||||||
|
Don't move the cursor if it's somewhere past the first line.
|
||||||
|
|
||||||
|
"gg=G" while 'modifiable' is off was uninterruptable.
|
||||||
|
|
||||||
vim:tw=78:ts=8:ft=help:norl:
|
vim:tw=78:ts=8:ft=help:norl:
|
||||||
|
@@ -82,17 +82,17 @@ OPTIONS
|
|||||||
allowed anywhere.
|
allowed anywhere.
|
||||||
|
|
||||||
-seek offset
|
-seek offset
|
||||||
When used after -r : revert with <offset> added to file posi-
|
When used after -r: revert with <offset> added to file positions
|
||||||
tions found in hexdump.
|
found in hexdump.
|
||||||
|
|
||||||
-s [+][-]seek
|
-s [+][-]seek
|
||||||
start at <seek> bytes abs. (or rel.) infile offset. + indicates
|
start at <seek> bytes abs. (or rel.) infile offset. + fRindi-
|
||||||
that the seek is relative to the current stdin file position
|
cates that the seek is relative to the current stdin file posi-
|
||||||
(meaningless when not reading from stdin). - indicates that the
|
tion (meaningless when not reading from stdin). - indicates
|
||||||
seek should be that many characters from the end of the input
|
that the seek should be that many characters from the end of the
|
||||||
(or if combined with
|
input (or if combined with +: before the current stdin file
|
||||||
+ : before the current stdin file position). Without -s
|
position). Without -s option, xxd starts at the current file
|
||||||
option, xxd starts at the current file position.
|
position.
|
||||||
|
|
||||||
-u use upper case hex letters. Default is lower case.
|
-u use upper case hex letters. Default is lower case.
|
||||||
|
|
||||||
@@ -101,20 +101,20 @@ OPTIONS
|
|||||||
|
|
||||||
CAVEATS
|
CAVEATS
|
||||||
xxd -r has some builtin magic while evaluating line number information.
|
xxd -r has some builtin magic while evaluating line number information.
|
||||||
If the output file is seekable, then the linenumbers at the start of
|
If the output file is seekable, then the linenumbers at the start of
|
||||||
each hexdump line may be out of order, lines may be missing, or over-
|
each hexdump line may be out of order, lines may be missing, or over-
|
||||||
lapping. In these cases xxd will lseek(2) to the next position. If the
|
lapping. In these cases xxd will lseek(2) to the next position. If the
|
||||||
output file is not seekable, only gaps are allowed, which will be
|
output file is not seekable, only gaps are allowed, which will be
|
||||||
filled by null-bytes.
|
filled by null-bytes.
|
||||||
|
|
||||||
xxd -r never generates parse errors. Garbage is silently skipped.
|
xxd -r never generates parse errors. Garbage is silently skipped.
|
||||||
|
|
||||||
When editing hexdumps, please note that xxd -r skips everything on the
|
When editing hexdumps, please note that xxd -r skips everything on the
|
||||||
input line after reading enough columns of hexadecimal data (see option
|
input line after reading enough columns of hexadecimal data (see option
|
||||||
-c). This also means, that changes to the printable ascii (or ebcdic)
|
-c). This also means, that changes to the printable ascii (or ebcdic)
|
||||||
columns are always ignored. Reverting a plain (or postscript) style
|
columns are always ignored. Reverting a plain (or postscript) style
|
||||||
hexdump with xxd -r -p does not depend on the correct number of col-
|
hexdump with xxd -r -p does not depend on the correct number of col-
|
||||||
umns. Here anything that looks like a pair of hex-digits is inter-
|
umns. Here anything that looks like a pair of hex-digits is inter-
|
||||||
preted.
|
preted.
|
||||||
|
|
||||||
Note the difference between
|
Note the difference between
|
||||||
@@ -122,28 +122,28 @@ CAVEATS
|
|||||||
and
|
and
|
||||||
% xxd -i < file
|
% xxd -i < file
|
||||||
|
|
||||||
xxd -s +seek may be different from xxd -s seek , as lseek(2) is used to
|
xxd -s +seek may be different from xxd -s seek, as lseek(2) is used to
|
||||||
"rewind" input. A '+' makes a difference if the input source is stdin,
|
"rewind" input. A '+' makes a difference if the input source is stdin,
|
||||||
and if stdin's file position is not at the start of the file by the
|
and if stdin's file position is not at the start of the file by the
|
||||||
time xxd is started and given its input. The following examples may
|
time xxd is started and given its input. The following examples may
|
||||||
help to clarify (or further confuse!)...
|
help to clarify (or further confuse!)...
|
||||||
|
|
||||||
Rewind stdin before reading; needed because the `cat' has already read
|
Rewind stdin before reading; needed because the `cat' has already read
|
||||||
to the end of stdin.
|
to the end of stdin.
|
||||||
% sh -c 'cat > plain_copy; xxd -s 0 > hex_copy' < file
|
% sh -c 'cat > plain_copy; xxd -s 0 > hex_copy' < file
|
||||||
|
|
||||||
Hexdump from file position 0x480 (=1024+128) onwards. The `+' sign
|
Hexdump from file position 0x480 (=1024+128) onwards. The `+' sign
|
||||||
means "relative to the current position", thus the `128' adds to the 1k
|
means "relative to the current position", thus the `128' adds to the 1k
|
||||||
where dd left off.
|
where dd left off.
|
||||||
% sh -c 'dd of=plain_snippet bs=1k count=1; xxd -s +128 > hex_snippet'
|
% sh -c 'dd of=plain_snippet bs=1k count=1; xxd -s +128 > hex_snippet'
|
||||||
< file
|
< file
|
||||||
|
|
||||||
Hexdump from file position 0x100 ( = 1024-768) on.
|
Hexdump from file position 0x100 ( = 1024-768) on.
|
||||||
% sh -c 'dd of=plain_snippet bs=1k count=1; xxd -s +-768 > hex_snippet'
|
% sh -c 'dd of=plain_snippet bs=1k count=1; xxd -s +-768 > hex_snippet'
|
||||||
< file
|
< file
|
||||||
|
|
||||||
However, this is a rare situation and the use of `+' is rarely needed.
|
However, this is a rare situation and the use of `+' is rarely needed.
|
||||||
The author prefers to monitor the effect of xxd with strace(1) or
|
The author prefers to monitor the effect of xxd with strace(1) or
|
||||||
truss(1), whenever -s is used.
|
truss(1), whenever -s is used.
|
||||||
|
|
||||||
EXAMPLES
|
EXAMPLES
|
||||||
@@ -187,7 +187,7 @@ EXAMPLES
|
|||||||
% xxd -s 0x36 -l 13 -c 13 xxd.1
|
% xxd -s 0x36 -l 13 -c 13 xxd.1
|
||||||
0000036: 3235 7468 204d 6179 2031 3939 36 25th May 1996
|
0000036: 3235 7468 204d 6179 2031 3939 36 25th May 1996
|
||||||
|
|
||||||
Create a 65537 byte file with all bytes 0x00, except for the last one
|
Create a 65537 byte file with all bytes 0x00, except for the last one
|
||||||
which is 'A' (hex 0x41).
|
which is 'A' (hex 0x41).
|
||||||
% echo '010000: 41' | xxd -r > file
|
% echo '010000: 41' | xxd -r > file
|
||||||
|
|
||||||
@@ -197,7 +197,7 @@ EXAMPLES
|
|||||||
*
|
*
|
||||||
000fffc: 0000 0000 40 ....A
|
000fffc: 0000 0000 40 ....A
|
||||||
|
|
||||||
Create a 1 byte file containing a single 'A' character. The number
|
Create a 1 byte file containing a single 'A' character. The number
|
||||||
after '-r -s' adds to the linenumbers found in the file; in effect, the
|
after '-r -s' adds to the linenumbers found in the file; in effect, the
|
||||||
leading bytes are suppressed.
|
leading bytes are suppressed.
|
||||||
% echo '010000: 41' | xxd -r -s -0x10000 > file
|
% echo '010000: 41' | xxd -r -s -0x10000 > file
|
||||||
@@ -239,7 +239,7 @@ SEE ALSO
|
|||||||
uuencode(1), uudecode(1), patch(1)
|
uuencode(1), uudecode(1), patch(1)
|
||||||
|
|
||||||
WARNINGS
|
WARNINGS
|
||||||
The tools weirdness matches its creators brain. Use entirely at your
|
The tools weirdness matches its creators brain. Use entirely at your
|
||||||
own risk. Copy files. Trace it. Become a wizard.
|
own risk. Copy files. Trace it. Become a wizard.
|
||||||
|
|
||||||
VERSION
|
VERSION
|
||||||
|
@@ -9042,14 +9042,17 @@ f_getwinvar(argvars, rettv)
|
|||||||
{
|
{
|
||||||
if (*varname == '&') /* window-local-option */
|
if (*varname == '&') /* window-local-option */
|
||||||
{
|
{
|
||||||
/* set curwin to be our win, temporarily */
|
/* Set curwin to be our win, temporarily. Also set curbuf, so
|
||||||
|
* that we can get buffer-local options. */
|
||||||
oldcurwin = curwin;
|
oldcurwin = curwin;
|
||||||
curwin = win;
|
curwin = win;
|
||||||
|
curbuf = win->w_buffer;
|
||||||
|
|
||||||
get_option_tv(&varname, rettv, 1);
|
get_option_tv(&varname, rettv, 1);
|
||||||
|
|
||||||
/* restore previous notion of curwin */
|
/* restore previous notion of curwin */
|
||||||
curwin = oldcurwin;
|
curwin = oldcurwin;
|
||||||
|
curbuf = curwin->w_buffer;
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
|
@@ -112,11 +112,11 @@ EX(CMD_args, "args", ex_args,
|
|||||||
EX(CMD_argadd, "argadd", ex_argadd,
|
EX(CMD_argadd, "argadd", ex_argadd,
|
||||||
BANG|NEEDARG|RANGE|NOTADR|ZEROR|FILES|TRLBAR),
|
BANG|NEEDARG|RANGE|NOTADR|ZEROR|FILES|TRLBAR),
|
||||||
EX(CMD_argdelete, "argdelete", ex_argdelete,
|
EX(CMD_argdelete, "argdelete", ex_argdelete,
|
||||||
BANG|RANGE|NOTADR|COUNT|FILES|TRLBAR),
|
BANG|RANGE|NOTADR|FILES|TRLBAR),
|
||||||
EX(CMD_argdo, "argdo", ex_listdo,
|
EX(CMD_argdo, "argdo", ex_listdo,
|
||||||
BANG|NEEDARG|EXTRA|NOTRLCOM),
|
BANG|NEEDARG|EXTRA|NOTRLCOM),
|
||||||
EX(CMD_argedit, "argedit", ex_argedit,
|
EX(CMD_argedit, "argedit", ex_argedit,
|
||||||
BANG|NEEDARG|RANGE|NOTADR|COUNT|FILE1|EDITCMD|TRLBAR),
|
BANG|NEEDARG|RANGE|NOTADR|FILE1|EDITCMD|TRLBAR),
|
||||||
EX(CMD_argglobal, "argglobal", ex_args,
|
EX(CMD_argglobal, "argglobal", ex_args,
|
||||||
BANG|FILES|EDITCMD|ARGOPT|TRLBAR),
|
BANG|FILES|EDITCMD|ARGOPT|TRLBAR),
|
||||||
EX(CMD_arglocal, "arglocal", ex_args,
|
EX(CMD_arglocal, "arglocal", ex_args,
|
||||||
|
@@ -1996,10 +1996,11 @@ scripterror:
|
|||||||
{
|
{
|
||||||
/*
|
/*
|
||||||
* We start commands on line 0, make "vim +/pat file" match a
|
* We start commands on line 0, make "vim +/pat file" match a
|
||||||
* pattern on line 1.
|
* pattern on line 1. But don't move the cursor when an autocommand
|
||||||
|
* with g`" was used.
|
||||||
*/
|
*/
|
||||||
msg_scroll = TRUE;
|
msg_scroll = TRUE;
|
||||||
if (tagname == NULL)
|
if (tagname == NULL && curwin->w_cursor.lnum <= 1)
|
||||||
curwin->w_cursor.lnum = 0;
|
curwin->w_cursor.lnum = 0;
|
||||||
sourcing_name = (char_u *)"command line";
|
sourcing_name = (char_u *)"command line";
|
||||||
#ifdef FEAT_EVAL
|
#ifdef FEAT_EVAL
|
||||||
|
@@ -1,6 +1,6 @@
|
|||||||
# Italian Translation for Vim
|
# Italian Translation for Vim
|
||||||
#
|
#
|
||||||
# FIRST AUTHOR Antonio Colombo <antonio.colombo@jrc.it>, 2000
|
# FIRST AUTHOR Antonio Colombo <azc10@yahoo.com>, 2000
|
||||||
#
|
#
|
||||||
# Ogni commento <20> benvenuto...
|
# Ogni commento <20> benvenuto...
|
||||||
# Every remark is very welcome...
|
# Every remark is very welcome...
|
||||||
@@ -16,7 +16,7 @@ msgstr ""
|
|||||||
"PO-Revision-Date: 2004-06-02 20:02+0200\n"
|
"PO-Revision-Date: 2004-06-02 20:02+0200\n"
|
||||||
"Last-Translator: Vlad Sandrini <marco@sandrini.biz>\n"
|
"Last-Translator: Vlad Sandrini <marco@sandrini.biz>\n"
|
||||||
"Language-Team: Italian"
|
"Language-Team: Italian"
|
||||||
" Antonio Colombo <antonio.colombo@jrc.it>\n"
|
" Antonio Colombo <azc10@yahoo.com>\n"
|
||||||
" Vlad Sandrini <marco@sandrini.biz>\n"
|
" Vlad Sandrini <marco@sandrini.biz>\n"
|
||||||
"MIME-Version: 1.0\n"
|
"MIME-Version: 1.0\n"
|
||||||
"Content-Type: text/plain; charset=ISO_8859-1\n"
|
"Content-Type: text/plain; charset=ISO_8859-1\n"
|
||||||
|
Reference in New Issue
Block a user