updated for version 7.0014
This commit is contained in:
@ -1,4 +1,4 @@
|
||||
*autocmd.txt* For Vim version 7.0aa. Last change: 2004 Jul 01
|
||||
*autocmd.txt* For Vim version 7.0aa. Last change: 2004 Aug 30
|
||||
|
||||
|
||||
VIM REFERENCE MANUAL by Bram Moolenaar
|
||||
@ -24,10 +24,10 @@ For a basic explanation, see section |40.3| in the user manual.
|
||||
==============================================================================
|
||||
1. Introduction *autocmd-intro*
|
||||
|
||||
You can specify commands to be executed automatically for when reading or
|
||||
writing a file, when entering or leaving a buffer or window, and when exiting
|
||||
Vim. For example, you can create an autocommand to set the 'cindent' option
|
||||
for files matching *.c. You can also use autocommands to implement advanced
|
||||
You can specify commands to be executed automatically when reading or writing
|
||||
a file, when entering or leaving a buffer or window, and when exiting Vim.
|
||||
For example, you can create an autocommand to set the 'cindent' option for
|
||||
files matching *.c. You can also use autocommands to implement advanced
|
||||
features, such as editing compressed files (see |gzip-example|). The usual
|
||||
place to put autocommands is in your .vimrc or .exrc file.
|
||||
|
||||
|
||||
@ -1,4 +1,4 @@
|
||||
*editing.txt* For Vim version 7.0aa. Last change: 2004 Jul 04
|
||||
*editing.txt* For Vim version 7.0aa. Last change: 2004 Aug 29
|
||||
|
||||
|
||||
VIM REFERENCE MANUAL by Bram Moolenaar
|
||||
@ -29,16 +29,26 @@ Editing a file with Vim means:
|
||||
*current-file*
|
||||
As long as you don't write the buffer, the original file remains unchanged.
|
||||
If you start editing a file (read a file into the buffer), the file name is
|
||||
remembered as the "current file name".
|
||||
remembered as the "current file name". This is also known as the name of the
|
||||
current buffer.
|
||||
|
||||
*alternate-file*
|
||||
If there already was a current file name, then that one becomes the alternate
|
||||
file name. All file names are remembered in the file list. When you enter a
|
||||
file name, for editing (e.g., with ":e filename") or writing (e.g., with (:w
|
||||
file name"), the file name is added to the list. You can use this list to
|
||||
remember which files you edited and to quickly switch from one file to
|
||||
another with the CTRL-^ command (e.g., to copy text). First type the number
|
||||
of the file and then hit CTRL-^. {Vi: only one alternate file name}
|
||||
file name. It can later be used with "#" on the command line |:_#|. However,
|
||||
the alternate file name is not changed when |:keepalt| is used.
|
||||
|
||||
*:keepalt* *:keepa*
|
||||
:keepalt {cmd} Execute {cmd} while keeping the current alternate file
|
||||
name. Note that commands invoked indirectly (e.g.,
|
||||
with a function) may still set the alternate file
|
||||
name. {not in Vi}
|
||||
|
||||
All file names are remembered in the file list. When you enter a file name,
|
||||
for editing (e.g., with ":e filename") or writing (e.g., with (:w file name"),
|
||||
the file name is added to the list. You can use this list to remember which
|
||||
files you edited and to quickly switch from one file to another with the
|
||||
CTRL-^ command (e.g., to copy text). First type the number of the file and
|
||||
then hit CTRL-^. {Vi: only one alternate file name}
|
||||
|
||||
CTRL-G or *CTRL-G* *:f* *:fi* *:file*
|
||||
:f[ile] Prints the current file name (as typed), the
|
||||
|
||||
@ -1,4 +1,4 @@
|
||||
*eval.txt* For Vim version 7.0aa. Last change: 2004 Jul 25
|
||||
*eval.txt* For Vim version 7.0aa. Last change: 2004 Aug 30
|
||||
|
||||
|
||||
VIM REFERENCE MANUAL by Bram Moolenaar
|
||||
@ -2231,8 +2231,9 @@ remote_read({serverid}) *remote_read()*
|
||||
<
|
||||
*remote_send()* *E241*
|
||||
remote_send({server}, {string} [, {idvar}])
|
||||
Send the {string} to {server}. The string is sent as
|
||||
input keys and the function returns immediately.
|
||||
Send the {string} to {server}. The string is sent as input
|
||||
keys and the function returns immediately. At the Vim server
|
||||
the keys are not mapped |:map|.
|
||||
If {idvar} is present, it is taken as the name of a
|
||||
variable and a {serverid} for later use with
|
||||
remote_read() is stored there.
|
||||
@ -2558,6 +2559,7 @@ strridx({haystack}, {needle}) *strridx()*
|
||||
{haystack}. The search is done case-sensitive. For advanced
|
||||
searches use |match()|.
|
||||
If the {needle} does not occur in {haystack} it returns -1.
|
||||
If the {needle} is empty the length of {haystack} is returned.
|
||||
See also |stridx()|. Examples: >
|
||||
:echo strridx("an angry armadillo", "an") 3
|
||||
<
|
||||
|
||||
@ -1,4 +1,4 @@
|
||||
*filetype.txt* For Vim version 7.0aa. Last change: 2004 Jun 24
|
||||
*filetype.txt* For Vim version 7.0aa. Last change: 2004 Aug 31
|
||||
|
||||
|
||||
VIM REFERENCE MANUAL by Bram Moolenaar
|
||||
@ -82,6 +82,9 @@ You can disable it again with: >
|
||||
The filetype detection is not switched off then. But if you do switch off
|
||||
filetype detection, the indent files will not be loaded either.
|
||||
This actually loads the file "indoff.vim" in 'runtimepath'.
|
||||
This disables auto-indenting for files you will open. It will keep working in
|
||||
already opened files. Reset 'autoindent', 'cindent', 'smartindent' and/or
|
||||
'indentexpr' to disable indenting in an opened file.
|
||||
|
||||
*:filetype-off*
|
||||
To disable file type detection, use this command: >
|
||||
@ -147,7 +150,7 @@ is used. The default value is set like this: >
|
||||
This means that the contents of compressed files are not inspected.
|
||||
|
||||
*new-filetype*
|
||||
If a file type that you want to use is not detected yet, there are three ways
|
||||
If a file type that you want to use is not detected yet, there are four ways
|
||||
to add it. In any way, it's better not to modify the $VIMRUNTIME/filetype.vim
|
||||
file. It will be overwritten when installing a new version of Vim.
|
||||
|
||||
@ -155,7 +158,7 @@ A. If you want to overrule all default file type checks.
|
||||
This works by writing one file for each filetype. The disadvantage is that
|
||||
means there can be many files. The advantage is that you can simply drop
|
||||
this file in the right directory to make it work.
|
||||
|
||||
*ftdetect*
|
||||
1. Create your user runtime directory. You would normally use the first
|
||||
item of the 'runtimepath' option. Then create the directory "ftdetect"
|
||||
inside it. Example for Unix: >
|
||||
|
||||
@ -1,4 +1,4 @@
|
||||
*if_perl.txt* For Vim version 7.0aa. Last change: 2004 May 01
|
||||
*if_perl.txt* For Vim version 7.0aa. Last change: 2004 Aug 30
|
||||
|
||||
|
||||
VIM REFERENCE MANUAL by Sven Verdoolaege
|
||||
@ -156,6 +156,8 @@ VIM::Buffers([{bn}...]) With no arguments, returns a list of all the buffers
|
||||
numbers {bn}, returns a list of the buffers matching
|
||||
{bn}, using the same rules as Vim's internal
|
||||
|bufname()| function.
|
||||
WARNING: the list becomes invalid when |:bwipe| is
|
||||
used. Using it anyway may crash Vim.
|
||||
|
||||
*perl-Windows*
|
||||
VIM::Windows([{wn}...]) With no arguments, returns a list of all the windows
|
||||
@ -163,6 +165,8 @@ VIM::Windows([{wn}...]) With no arguments, returns a list of all the windows
|
||||
in a scalar context. For a list of window numbers
|
||||
{wn}, returns a list of the windows with those
|
||||
numbers.
|
||||
WARNING: the list becomes invalid when a window is
|
||||
closed. Using it anyway may crash Vim.
|
||||
|
||||
*perl-DoCommand*
|
||||
VIM::DoCommand({cmd}) Executes Ex command {cmd}.
|
||||
|
||||
@ -1,4 +1,4 @@
|
||||
*indent.txt* For Vim version 7.0aa. Last change: 2004 Jul 07
|
||||
*indent.txt* For Vim version 7.0aa. Last change: 2004 Sep 02
|
||||
|
||||
|
||||
VIM REFERENCE MANUAL by Bram Moolenaar
|
||||
@ -519,4 +519,15 @@ In addition, you can turn the verbose mode for debug issue: >
|
||||
|
||||
Make sure to do ":set cmdheight=2" first to allow the display of the message.
|
||||
|
||||
|
||||
VIM *vim-indent*
|
||||
|
||||
For indenting Vim scripts there is one variable that specifies the amount of
|
||||
indent for a continuation line, a line that starts with a backslash: >
|
||||
|
||||
:let g:vim_indent_cont = &sw * 3
|
||||
|
||||
Three times shiftwidth is the default value.
|
||||
|
||||
|
||||
vim:tw=78:ts=8:ft=help:norl:
|
||||
|
||||
@ -1,4 +1,4 @@
|
||||
*message.txt* For Vim version 7.0aa. Last change: 2004 Jul 23
|
||||
*message.txt* For Vim version 7.0aa. Last change: 2004 Aug 26
|
||||
|
||||
|
||||
VIM REFERENCE MANUAL by Bram Moolenaar
|
||||
@ -412,6 +412,12 @@ abandon the buffer forcefully, e.g., with ":qa!". Careful, make sure you
|
||||
don't throw away changes you really want to keep. You might have forgotten
|
||||
about a buffer, especially when 'hidden' is set.
|
||||
|
||||
>
|
||||
[No write since last change]
|
||||
|
||||
This appears when executing a shell command while at least one buffer was
|
||||
changed. To avoid the message reset the 'warn' option.
|
||||
|
||||
*E38* >
|
||||
Null argument
|
||||
|
||||
|
||||
@ -1,4 +1,4 @@
|
||||
*options.txt* For Vim version 7.0aa. Last change: 2004 Jul 24
|
||||
*options.txt* For Vim version 7.0aa. Last change: 2004 Aug 30
|
||||
|
||||
|
||||
VIM REFERENCE MANUAL by Bram Moolenaar
|
||||
@ -188,7 +188,7 @@ the value "ab", using "set guioptions-=ba" won't work, because the string "ba"
|
||||
doesn't appear.
|
||||
|
||||
*:set_env* *expand-env* *expand-environment-var*
|
||||
Environment variables in most string options will be expanded. If the
|
||||
Environment variables in specific string options will be expanded. If the
|
||||
environment variable exists the '$' and the following environment variable
|
||||
name is replaced with its value. If it does not exist the '$' and the name
|
||||
are not modified. Any non-id character (not a letter, digit or '_') may
|
||||
@ -2903,6 +2903,7 @@ A jump table for the options with a short description can be found at |Q_op|.
|
||||
BALTIC, CHINESEBIG5, DEFAULT, EASTEUROPE, GB2312, GREEK,
|
||||
HANGEUL, HEBREW, JOHAB, MAC, OEM, RUSSIAN, SHIFTJIS,
|
||||
SYMBOL, THAI, TURKISH, VIETNAMESE ANSI and BALTIC.
|
||||
Normally you would use "cDEFAULT".
|
||||
|
||||
Use a ':' to separate the options.
|
||||
- A '_' can be used in the place of a space, so you don't need to use
|
||||
@ -5730,7 +5731,7 @@ A jump table for the options with a short description can be found at |Q_op|.
|
||||
Tags in unsorted tags files, and matches with different case will only
|
||||
be found in the retry.
|
||||
|
||||
If a tag file indicates that is is case-fold sorted, the second,
|
||||
If a tag file indicates that it is case-fold sorted, the second,
|
||||
linear search can be avoided for the 'ignorecase' case. Use a value
|
||||
of '2' in the "!_TAG_FILE_SORTED" line for this. A tag file can be
|
||||
case-fold sorted with the -f switch to "sort" in most unices, as in
|
||||
|
||||
@ -1,4 +1,4 @@
|
||||
*os_msdos.txt* For Vim version 7.0aa. Last change: 2001 Sep 03
|
||||
*os_msdos.txt* For Vim version 7.0aa. Last change: 2004 Aug 31
|
||||
|
||||
|
||||
VIM REFERENCE MANUAL by Bram Moolenaar
|
||||
@ -207,18 +207,24 @@ in such a way that it becomes too long may give unexpected results.
|
||||
8. Symbolically linked files *msdos-linked-files*
|
||||
|
||||
When using Vim to edit a symbolically linked file on a unix NFS file server,
|
||||
you may run into problems.
|
||||
When writing the file, Vim does not "write through" the symlink. Instead, it
|
||||
deletes the symbolic link and creates a new file in its place.
|
||||
On Unix, Vim is prepared for links (symbolic or hard). A backup copy of
|
||||
the original file is made and then the original file is overwritten. This
|
||||
assures that all properties of the file remain the same. On non-Unix systems,
|
||||
the original file is renamed and a new file is written. Only the protection
|
||||
bits are set like the original file. However, this doesn't work properly when
|
||||
you may run into problems. When writing the file, Vim does not "write
|
||||
through" the symlink. Instead, it deletes the symbolic link and creates a new
|
||||
file in its place.
|
||||
|
||||
On Unix, Vim is prepared for links (symbolic or hard). A backup copy of the
|
||||
original file is made and then the original file is overwritten. This assures
|
||||
that all properties of the file remain the same. On non-Unix systems, the
|
||||
original file is renamed and a new file is written. Only the protection bits
|
||||
are set like the original file. However, this doesn't work properly when
|
||||
working on an NFS-mounted file system where links and other things exist. The
|
||||
only way to fix this in the current version is not making a backup file, by
|
||||
":set nobackup nowritebackup" |'writebackup'|
|
||||
|
||||
A similar problem occurs when mounting a Unix filesystem through Samba or a
|
||||
similar system. When Vim creates a new file it will get the default user ID
|
||||
for the mounted file system. This may be different from the original user ID.
|
||||
To avoid this set the 'backupcopy' option to "yes".
|
||||
|
||||
==============================================================================
|
||||
9. Copy/paste in a dos box *msdos-copy-paste*
|
||||
|
||||
|
||||
@ -1,4 +1,4 @@
|
||||
*os_win32.txt* For Vim version 7.0aa. Last change: 2004 May 01
|
||||
*os_win32.txt* For Vim version 7.0aa. Last change: 2004 Aug 31
|
||||
|
||||
|
||||
VIM REFERENCE MANUAL by George Reilly
|
||||
@ -184,8 +184,9 @@ A. There are no good reasons to run the 16-bit DOS version on NT. The Win32
|
||||
runs on top of an 80x86 emulator.
|
||||
|
||||
Q. How do I change the font?
|
||||
A. In the GUI version, you can use the 'guifont' option.
|
||||
In the console version, you need to set the font of the console itself.
|
||||
A. In the GUI version, you can use the 'guifont' option. Example: >
|
||||
:set guifont=Lucida_Console:h15:cDEFAULT
|
||||
< In the console version, you need to set the font of the console itself.
|
||||
You cannot do this from within Vim.
|
||||
|
||||
Q. When I change the size of the console window with ':set lines=xx' or
|
||||
@ -249,6 +250,16 @@ A. On Unix, Vim is prepared for links (symbolic or hard). A backup copy of
|
||||
things exist. The only way to fix this in the current version is not
|
||||
making a backup file, by ":set nobackup nowritebackup" |'writebackup'|
|
||||
|
||||
Q. I'm using Vim to edit a file on a Unix file server through Samba. When I
|
||||
write the file, the owner of the file is changed. Why?
|
||||
A. When writing a file Vim renames the original file, this is a backup (in
|
||||
case writing the file fails halfway). Then the file is written as a new
|
||||
file. Samba then gives it the default owner for the file system, which may
|
||||
differ from the original owner.
|
||||
To avoid this set the 'backupcopy' option to "yes". Vim will then make a
|
||||
copy of the file for the backup, and overwrite the original file. The
|
||||
owner isn't changed then.
|
||||
|
||||
Q. How do I get to see the output of ":make" while it's running?
|
||||
A. Basically what you need is to put a tee program that will copy its input
|
||||
(the output from make) to both stdout and to the errorfile. You can find a
|
||||
|
||||
@ -1,4 +1,4 @@
|
||||
*pi_netrw.txt For Vim version 6.2. Last change: Jul 26, 2004
|
||||
*pi_netrw.txt For Vim version 6.2. Last change: Jul 30, 2004
|
||||
|
||||
|
||||
VIM REFERENCE MANUAL by Charles E. Campbell, Jr.
|
||||
@ -16,7 +16,7 @@
|
||||
4. Transparent File Transfer...........................|netrw-transparent|
|
||||
5. Ex Commands.........................................|netrw-ex|
|
||||
6. Variables and Options...............................|netrw-var|
|
||||
7. Remote Directory Browser............................|netrw-browse|
|
||||
7. Directory Browser...................................|netrw-browse|
|
||||
8. Debugging...........................................|netrw-debug|
|
||||
9. History.............................................|netrw-history|
|
||||
10. Credits.............................................|netrw-credits|
|
||||
@ -62,31 +62,31 @@ in your <.vimrc> file: >
|
||||
scp: g:netrw_scp_cmd = "scp -q"
|
||||
sftp: g:netrw_sftp_cmd = "sftp"
|
||||
|
||||
READING
|
||||
READING *netrw-read* *netrw-nread*
|
||||
:Nread ? give help
|
||||
:Nread "machine:file" uses rcp
|
||||
:Nread "machine file" uses ftp with <.netrc>
|
||||
:Nread "machine id password file" uses ftp
|
||||
:Nread "dav://machine[:port]/file" uses cadaver
|
||||
:Nread "fetch://[user@]machine/file" uses fetch
|
||||
:Nread "ftp://[user@]machine[[:#]port]/file" uses ftp autodetects <.netrc>
|
||||
:Nread "http://[user@]machine/file" uses http uses wget
|
||||
:Nread "rcp://[user@]machine/file" uses rcp
|
||||
:Nread "rsync://[user@]machine[:port]/file" uses rsync
|
||||
:Nread "scp://[user@]machine[[:#]port]/file" uses scp
|
||||
:Nread "sftp://[user@]machine/file" uses sftp
|
||||
:Nread "machine:path" uses rcp
|
||||
:Nread "machine path" uses ftp with <.netrc>
|
||||
:Nread "machine id password path" uses ftp
|
||||
:Nread "dav://machine[:port]/path" uses cadaver
|
||||
:Nread "fetch://[user@]machine/path" uses fetch
|
||||
:Nread "ftp://[user@]machine[[:#]port]/path" uses ftp autodetects <.netrc>
|
||||
:Nread "http://[user@]machine/path" uses http uses wget
|
||||
:Nread "rcp://[user@]machine/path" uses rcp
|
||||
:Nread "rsync://[user@]machine[:port]/path" uses rsync
|
||||
:Nread "scp://[user@]machine[[:#]port]/path" uses scp
|
||||
:Nread "sftp://[user@]machine/path" uses sftp
|
||||
|
||||
WRITING
|
||||
WRITING *netrw-write* *netrw-nwrite*
|
||||
:Nwrite ? give help
|
||||
:Nwrite "machine:file" uses rcp
|
||||
:Nwrite "machine file" uses ftp with <.netrc>
|
||||
:Nwrite "machine id password file" uses ftp
|
||||
:Nwrite "dav://machine[:port]/file" uses cadaver
|
||||
:Nwrite "ftp://[user@]machine[[:#]port]/file" uses ftp autodetects <.netrc>
|
||||
:Nwrite "rcp://[user@]machine/file" uses rcp
|
||||
:Nwrite "rsync://[user@]machine[:port]/file" uses rsync
|
||||
:Nwrite "scp://[user@]machine[[:#]port]/file" uses scp
|
||||
:Nwrite "sftp://[user@]machine/file" uses sftp
|
||||
:Nwrite "machine:path" uses rcp
|
||||
:Nwrite "machine path" uses ftp with <.netrc>
|
||||
:Nwrite "machine id password path" uses ftp
|
||||
:Nwrite "dav://machine[:port]/path" uses cadaver
|
||||
:Nwrite "ftp://[user@]machine[[:#]port]/path" uses ftp autodetects <.netrc>
|
||||
:Nwrite "rcp://[user@]machine/path" uses rcp
|
||||
:Nwrite "rsync://[user@]machine[:port]/path" uses rsync
|
||||
:Nwrite "scp://[user@]machine[[:#]port]/path" uses scp
|
||||
:Nwrite "sftp://[user@]machine/path" uses sftp
|
||||
http: not supported!
|
||||
|
||||
DIRECTORY LISTING
|
||||
@ -103,7 +103,7 @@ in your <.vimrc> file: >
|
||||
:call NetUserPass("uid") -- prompts for password
|
||||
:call NetUserPass("uid","password") -- sets global uid and password
|
||||
|
||||
VARIABLES
|
||||
VARIABLES *netrw-variables*
|
||||
b:netrw_lastfile last file Network-read/written retained on
|
||||
a per-buffer basis (supports plain :Nw )
|
||||
s:netrw_line during Nw/NetWrite, holds current line number
|
||||
@ -126,6 +126,21 @@ in your <.vimrc> file: >
|
||||
g:netrw_use_nt_rcp=0 don't use the rcp of WinNT, Win2000 and WinXP (default)
|
||||
=1 use the rcp of WinNT,... in binary mode
|
||||
|
||||
PATHS *netrw-path*
|
||||
|
||||
Paths to files are generally user-directory relative for most protocols.
|
||||
It is possible that some protocol will make paths relative to some
|
||||
associated directory, however.
|
||||
|
||||
example: vim scp://user@host/somefile
|
||||
example: vim scp://user@host/subdir1/subdir2/somefile
|
||||
|
||||
where "somefile" is the "user"'s home directory. If you wish to get a
|
||||
file using root-relative paths, use the full path:
|
||||
|
||||
example: vim scp://user@host//somefile
|
||||
example: vim scp://user@host//subdir1/subdir2/somefile
|
||||
|
||||
|
||||
==============================================================================
|
||||
2. Network-Oriented File Transfer *netrw-xfer*
|
||||
@ -499,21 +514,26 @@ from <netrw.vim> itself:
|
||||
>
|
||||
|
||||
==============================================================================
|
||||
7. Remote Directory Browser *netrw-browse* *netrw-dir* *netrw-list* *netrw-help*
|
||||
7. Directory Browser *netrw-browse* *netrw-dir* *netrw-list* *netrw-help*
|
||||
?..........Help....................................|netrw-help|
|
||||
<cr>.......Browsing................................|netrw-cr|
|
||||
<c-l>......Refreshing the Listing..................|netrw-c-l|
|
||||
<del>......Deleting Files or Directories...........|netrw-delete|
|
||||
-..........Going Up................................|netrw--|
|
||||
a..........Hiding Files or Directories.............|netrw-a|
|
||||
b..........Bookmarking a Directory.................|netrw-b|
|
||||
B..........Changing to a Bookmarked Directory......|netrw-B|
|
||||
c..........Make Browsing Directory The Current Dir.|netrw-c|
|
||||
d..........Make A New Directory....................|netrw-d|
|
||||
D..........Deleting Files or Directories...........|netrw-D|
|
||||
\h.........Edit File/Directory Hiding List.........|netrw-h|
|
||||
<c-h>......Edit File/Directory Hiding List.........|netrw-h|
|
||||
i..........Long Listing............................|netrw-i|
|
||||
\m.........Make A New Directory....................|netrw-m|
|
||||
<c-l>......Refreshing the Listing..................|netrw-ctrl-l|
|
||||
o..........Browsing with a Horizontal Split........|netrw-o|
|
||||
q..........Listing Bookmarks.......................|netrw-q|
|
||||
r..........Reversing Sorting Order.................|netrw-r|
|
||||
R..........Renaming Files or Directories...........|netrw-R|
|
||||
s..........Selecting Sorting Style.................|netrw-s|
|
||||
S..........Editing the Sorting Sequence............|netrw-S|
|
||||
v..........Browsing with a Vertical Split..........|netrw-v|
|
||||
x..........Customizing Browsing....................|netrw-x|
|
||||
|
||||
@ -525,14 +545,15 @@ QUICK REFERENCE COMMANDS TABLE *netrw-browse-cmds*
|
||||
? Causes Netrw to issue help
|
||||
<cr> Netrw will enter the directory or read the file
|
||||
<del> Netrw will attempt to remove the file/directory
|
||||
<c-l> Causes Netrw to refresh the directory listing
|
||||
d Make a directory
|
||||
D Netrw will attempt to remove the file(s)/directory(ies)
|
||||
R Netrw will attempt to rename the file(s)/directory(ies)
|
||||
- Makes Netrw go up one directory
|
||||
a Show all of a directory (temporarily ignore g:netrw_list_hide)
|
||||
\h Edit file hiding list
|
||||
c Make current browsing directory the current directory
|
||||
<c-h> Edit file hiding list
|
||||
i Toggles between long and short listing
|
||||
\m Make a directory
|
||||
<c-l> Causes Netrw to refresh the directory listing
|
||||
o Enter the file/directory under the cursor in a new browser
|
||||
window. A horizontal split is used.
|
||||
r Reverse sorting order
|
||||
@ -543,49 +564,63 @@ QUICK REFERENCE COMMANDS TABLE *netrw-browse-cmds*
|
||||
<
|
||||
NETRW BROWSER VARIABLES *netrw-browse-var*
|
||||
>
|
||||
--- -----------
|
||||
Var Explanation
|
||||
--- -----------
|
||||
g:netrw_list_cmd supports listing
|
||||
g:netrw_list_hide comma separated list of patterns for
|
||||
hiding files
|
||||
g:netrw_local_mkdir specify command for making a directory locally
|
||||
g:netrw_local_rmdir remove directory command default: rmdir
|
||||
g:netrw_local_rename rename file/directory command
|
||||
unix-default: rm win32-default: ren
|
||||
g:netrw_mkdir_cmd specify command for making a directory remotely
|
||||
g:netrw_rm_cmd supports removing files
|
||||
g:netrw_rmdir_cmd supports removing directories
|
||||
g:netrw_rmf_cmd supports removing softlinks to directories
|
||||
g:netrw_hide if true, the hiding list is used
|
||||
g:netrw_sort_by sort by "name", "time", or "size"
|
||||
g:netrw_sort_direction sorting direction: "normal" or "reverse"
|
||||
g:netrw_sort_sequence when sorting by name, first sort by the
|
||||
comma-separated pattern sequence
|
||||
g:netrw_timefmt specify format string to strftime() default: %c
|
||||
g:netrw_winsize specify initial size of new o/v windows
|
||||
--- -----------
|
||||
Var Explanation
|
||||
--- -----------
|
||||
g:netrw_ftp_browse_reject ftp can produce a number of errors
|
||||
and warnings that can show up as
|
||||
"directories" and "files" in the
|
||||
listing. This pattern is used to
|
||||
remove such embedded messages.
|
||||
g:netrw_keepdir keep current directory immune from the
|
||||
browsing directory. The browsing
|
||||
directory is contained in b:netrw_curdir
|
||||
g:netrw_list_cmd command for listing remote directories
|
||||
g:netrw_list_hide comma separated list of patterns for
|
||||
hiding files
|
||||
g:netrw_local_mkdir command for making a local directory
|
||||
g:netrw_local_rmdir remove directory command (rmdir)
|
||||
g:netrw_local_rename rename file/directory command
|
||||
unix-default: rm win32-default: ren
|
||||
g:netrw_mkdir_cmd command for making a remote directory
|
||||
g:netrw_rm_cmd command for removing files
|
||||
g:netrw_rmdir_cmd command for removing directories
|
||||
g:netrw_rmf_cmd command for removing softlinks
|
||||
g:netrw_hide if true, the hiding list is used
|
||||
g:netrw_sort_by sort by "name", "time", or "size"
|
||||
g:netrw_sort_direction sorting direction: "normal" or "reverse"
|
||||
g:netrw_sort_sequence when sorting by name, first sort by the
|
||||
comma-separated pattern sequence
|
||||
g:netrw_timefmt specify format string to strftime() (%c)
|
||||
g:netrw_winsize specify initial size of new o/v windows
|
||||
<
|
||||
INTRODUCTION TO REMOTE DIRECTORY BROWSING
|
||||
INTRODUCTION TO DIRECTORY BROWSING
|
||||
|
||||
Netrw supports the browsing of directories on remote hosts, including
|
||||
generating listing directories, entering directories, editing files therein,
|
||||
deleting files/directories, and moving (renaming) files and directories. The
|
||||
Netrw browser generally implements the file explorer methods but for remote
|
||||
directories, although details (such as pertinent global variable names)
|
||||
necessarily differ.
|
||||
Netrw supports the browsing of directories on the local system and on remote
|
||||
hosts, including generating listing directories, entering directories, editing
|
||||
files therein, deleting files/directories, making new directories, and moving
|
||||
(renaming) files and directories. The Netrw browser generally implements the
|
||||
previous explorer maps and commands for remote directories, although details
|
||||
(such as pertinent global variable names) necessarily differ.
|
||||
|
||||
The Netrw remote file and directory browser handles two protocols: ssh and
|
||||
ftp. The protocol in the url, if it is ftp, will cause netrw to use ftp
|
||||
in its remote browsing. Any other protocol will be used for file transfers,
|
||||
but otherwise the ssh protocol will be used to do remote directory browsing.
|
||||
|
||||
To enter the netrw directory browser, simply attempt to read a "file" with a
|
||||
trailing slash and it will be interpreted as a request to list a directory:
|
||||
|
||||
vim [protocol]://[user@]hostname/path/
|
||||
|
||||
To get no-password directory listings, scp, ssh interaction, etc, see
|
||||
|netrw-list-hack|.
|
||||
If you'd like to avoid entering the password in for directory listings, scp,
|
||||
ssh interaction, etc, see |netrw-list-hack|.
|
||||
|
||||
REFRESHING THE LISTING *netrw-c-l*
|
||||
REFRESHING THE LISTING *netrw-ctrl-l*
|
||||
|
||||
To refresh the directory listing, press ctrl-l (<c-l>) or hit the <cr>
|
||||
when atop the ./ directory entry in the listing.
|
||||
To refresh either a local or remote directory listing, press ctrl-l (<c-l>) or
|
||||
hit the <cr> when atop the ./ directory entry in the listing. One may also
|
||||
refresh a local directory by using ":e .".
|
||||
|
||||
|
||||
GOING UP *netrw--*
|
||||
@ -598,10 +633,10 @@ listing operation. By default the command is:
|
||||
|
||||
ssh HOSTNAME ls -FLa
|
||||
|
||||
where the HOSTNAME becomes the [user@]hostname as requested by the attempt
|
||||
to read. Naturally, the user may override this command with whatever is
|
||||
preferred. The NetList function which implements remote directory
|
||||
browsing expects that directories will be flagged by a trailing slash.
|
||||
where the HOSTNAME becomes the [user@]hostname as requested by the attempt to
|
||||
read. Naturally, the user may override this command with whatever is
|
||||
preferred. The NetList function which implements remote directory browsing
|
||||
expects that directories will be flagged by a trailing slash.
|
||||
|
||||
|
||||
BROWSING *netrw-cr*
|
||||
@ -619,11 +654,9 @@ directories or displays the filename, file size (in bytes), and the
|
||||
time and date of last modification for local directories.
|
||||
|
||||
|
||||
MAKING A NEW DIRECTORY *netrw-m*
|
||||
MAKING A NEW DIRECTORY *netrw-d*
|
||||
|
||||
Actually <Leader>m, where the <Leader> is, by default, the backslash.
|
||||
|
||||
With the "<Leader>m" map one may make a new directory either remotely (which
|
||||
With the "d" map one may make a new directory either remotely (which
|
||||
depends on the global variable g:netrw_mkdir_cmd) or locally (which depends on
|
||||
the global variable g:netrw_local_mkdir). Netrw will issue a request for the
|
||||
new directory's name. A bare <CR> at that point will abort the making of the
|
||||
@ -675,6 +708,7 @@ value is:
|
||||
One may rename a block of files and directories by selecting them with
|
||||
the V (|linewise-visual|).
|
||||
|
||||
|
||||
HIDING FILES OR DIRECTORIES *g:netrw-a* *g:netrw_list_hide*
|
||||
|
||||
The "a" map toggles the netrw vim file browser (both remote and local) between
|
||||
@ -685,9 +719,7 @@ patterns (ex. \.obj) to be hidden from normal listing. (see |netrw-h|)
|
||||
|
||||
EDIT FILE OR DIRECTORY HIDING LIST *netrw-h*
|
||||
|
||||
Actually <Leader>h, where the <Leader> is, by default, the backslash.
|
||||
|
||||
The "<Leader>h" map brings up a requestor allowing the user to change the
|
||||
The "<ctrl-h>" map brings up a requestor allowing the user to change the
|
||||
file/directory hiding list. The hiding list consists of one or more patterns
|
||||
delimited by commas. Files and/or directories satisfying these patterns will
|
||||
be hidden (ie. not shown).
|
||||
@ -707,6 +739,21 @@ One may select the sorting style by name, time, or (file) size. The
|
||||
listing will automatically be refreshed to reflect the selected style.
|
||||
|
||||
|
||||
EDITING THE SORTING SEQUENCE *netrw-S*
|
||||
|
||||
When "Sorted by" is name, one may specify priority via the sorting
|
||||
sequence (g:netrw_sort_sequence). The sorting sequence typically
|
||||
prioritizes the name-listing by suffix, although any pattern will do.
|
||||
Patterns are delimited by commas. The default sorting sequence is:
|
||||
>
|
||||
/$,*,\.bak$,\.o$,\.h$,\.info$,\.swp$,\.obj$
|
||||
<
|
||||
The lone * is where all filenames not covered by one of the other
|
||||
patterns will end up. One may change the sorting sequence by modifying
|
||||
the g:netrw_sort_sequence variable (either manually or in your <.vimrc>)
|
||||
or by using the "S" map.
|
||||
|
||||
|
||||
REVERSING SORTING ORDER *netrw-r*
|
||||
|
||||
One may toggle between normal and reverse sorting order by pressing the
|
||||
@ -738,6 +785,38 @@ See the <plugin/NetrwFileHandlers.vim> for an example of how to handle an html
|
||||
file with mozilla.
|
||||
|
||||
|
||||
MAKING THE BROWSING DIRECTORY THE CURRENT DIRECTORY *netrw-c*
|
||||
|
||||
By default, g:netrw_keepdir is 0. This setting means that the current
|
||||
directory will track the browsing directory. However, setting g:netrw_keepdir
|
||||
to 1 (say, in your <.vimrc>) will keep the current directory independent
|
||||
of the browsing directory. In that case, in order to make the two
|
||||
directories the same, use the "c" map (just type c).
|
||||
|
||||
|
||||
BOOKMARKING A DIRECTORY *netrw-b*
|
||||
|
||||
One may easily "bookmark" a directory by using
|
||||
|
||||
{cnt}b
|
||||
|
||||
Any count may be used.
|
||||
|
||||
|
||||
CHANGING TO A BOOKMARKED DIRECTORY *netrw-B*
|
||||
|
||||
To change directory back to a bookmarked directory, use
|
||||
|
||||
{cnt}B
|
||||
|
||||
Any count may be used.
|
||||
|
||||
|
||||
LISTING BOOKMARKS *netrw-q*
|
||||
|
||||
Pressing "q" will list the bookmarked directories. (query)
|
||||
|
||||
|
||||
IMPROVING DIRECTORY BROWSING *netrw-list-hack*
|
||||
|
||||
Especially with the remote directory browser, constantly entering the password
|
||||
@ -767,15 +846,31 @@ which is loaded automatically at startup (assuming :set nocp).
|
||||
or
|
||||
http://vim.sourceforge.net/scripts/script.php?script_id=120
|
||||
|
||||
and put it into your local plugin directory
|
||||
and put it into your local plugin directory.
|
||||
|
||||
2. <Decho.vim> itself needs the <cecutil.vim> script, so you'll need
|
||||
to put it into your .vim/plugin, too. You may obtain it from:
|
||||
|
||||
2. Edit the <netrw.vim> file as follows:
|
||||
http://mysite.verizon.net/astronaut/vim/index.html#VimFuncs
|
||||
as "DrC's Utilities"
|
||||
|
||||
3. Edit the <netrw.vim> file by typing:
|
||||
|
||||
vim netrw.vim
|
||||
:DechoOn
|
||||
:wq
|
||||
|
||||
(to restore to normal, use :DechoOff )
|
||||
To restore to normal non-debugging behavior, edit <netrw.vim>
|
||||
by typing
|
||||
|
||||
3. Then bring up vim and attempt a transfer. A set of messages
|
||||
vim netrw.vim
|
||||
:DechoOff
|
||||
:wq
|
||||
|
||||
This command, provided by <Decho.vim>, will comment out all
|
||||
Decho-debugging statements (Dfunc(), Dret(), Decho(), Dredir()).
|
||||
|
||||
4. Then bring up vim and attempt a transfer. A set of messages
|
||||
should appear concerning the steps that <netrw.vim> took in
|
||||
attempting to read/write your file over the network. Please
|
||||
send that information to <netrw.vim>'s maintainer,
|
||||
|
||||
@ -1,4 +1,4 @@
|
||||
*repeat.txt* For Vim version 7.0aa. Last change: 2004 Jun 22
|
||||
*repeat.txt* For Vim version 7.0aa. Last change: 2004 Jul 30
|
||||
|
||||
|
||||
VIM REFERENCE MANUAL by Bram Moolenaar
|
||||
@ -20,7 +20,8 @@ Chapter 26 of the user manual introduces repeating |usr_26.txt|.
|
||||
*.*
|
||||
. Repeat last change, with count replaced with [count].
|
||||
Also repeat a yank command, when the 'y' flag is
|
||||
included in 'cpoptions'.
|
||||
included in 'cpoptions'. Does not repeat a
|
||||
command-line command.
|
||||
|
||||
Simple changes can be repeated with the "." command. Without a count, the
|
||||
count of the last change is used. If you enter a count, it will replace the
|
||||
|
||||
@ -1,4 +1,4 @@
|
||||
*syntax.txt* For Vim version 7.0aa. Last change: 2004 Jul 15
|
||||
*syntax.txt* For Vim version 7.0aa. Last change: 2004 Sep 01
|
||||
|
||||
|
||||
VIM REFERENCE MANUAL by Bram Moolenaar
|
||||
@ -664,13 +664,21 @@ an the "after" directory in 'runtimepath'. For Unix this would be
|
||||
syn sync fromstart
|
||||
set foldmethod=syntax
|
||||
|
||||
CH *ch.vim* *ch-syntax*
|
||||
|
||||
C/C++ interpreter. Ch has similar syntax highlighting to C and builds upon
|
||||
the C syntax file. See |c.vim| for all the settings that are available for C.
|
||||
|
||||
By setting a variable you can tell Vim to use Ch syntax for *.h files, instead
|
||||
of C or C++: >
|
||||
:let ch_syntax_for_h = 1
|
||||
|
||||
|
||||
CHILL *chill.vim* *chill-syntax*
|
||||
|
||||
Chill syntax highlighting is similar to C. See |c.vim| for all the settings
|
||||
that are available. Additionally there is:
|
||||
|
||||
chill_syntax_for_h use Ch syntax for *.h files, instead of C or C++
|
||||
chill_space_errors like c_space_errors
|
||||
chill_comment_string like c_comment_strings
|
||||
chill_minlines like c_minlines
|
||||
@ -1776,14 +1784,22 @@ If you use POD files or POD segments, you might: >
|
||||
|
||||
:let perl_include_pod = 1
|
||||
|
||||
To handle package references in variable and function names differently from
|
||||
the rest of the name (like 'PkgName::' in '$PkgName::VarName'): >
|
||||
The reduce the complexity of parsing (and increase performance) you can switch
|
||||
off two elements in the parsing of variable names and contents. >
|
||||
|
||||
:let perl_want_scope_in_variables = 1
|
||||
To handle package references in variable and function names not differently
|
||||
from the rest of the name (like 'PkgName::' in '$PkgName::VarName'): >
|
||||
|
||||
If you want complex things like '@{${"foo"}}' to be parsed: >
|
||||
:let perl_no_scope_in_variables = 1
|
||||
|
||||
:let perl_extended_vars = 1
|
||||
(In Vim 6.x it was the other way around: "perl_want_scope_in_variables"
|
||||
enabled it.)
|
||||
|
||||
If you do not want complex things like '@{${"foo"}}' to be parsed: >
|
||||
|
||||
:let perl_no_extended_vars = 1
|
||||
|
||||
{In Vim 6.x it was the other way around: "perl_extended_vars" enabled it.)
|
||||
|
||||
The coloring strings can be changed. By default strings and qq friends will be
|
||||
highlighted like the first line. If you set the variable
|
||||
@ -1813,7 +1829,11 @@ its attempts in syntax highlighting. >
|
||||
|
||||
If you want to use folding with perl, set perl_fold: >
|
||||
|
||||
:let perl_fold = 1
|
||||
:let perl_fold = 1
|
||||
|
||||
If you want to fold blocks in if statements, etc. as well set the following: >
|
||||
|
||||
:let perl_fold_blocks = 1
|
||||
|
||||
|
||||
PHP3 and PHP4 *php.vim* *php3.vim* *php-syntax* *php3-syntax*
|
||||
@ -2264,6 +2284,17 @@ fast enough, you can increase minlines and/or maxlines near the end of
|
||||
the syntax file.
|
||||
|
||||
|
||||
SQL *sql.vim* *sql-syntax*
|
||||
*sqlinformix.vim* *sqlinformix-syntax*
|
||||
|
||||
While there is an ANSI standard for SQL, most database engines add their
|
||||
own custom extensions. Vim currently supports the Oracle and Informix
|
||||
dialects of SQL. Vim assumes "*.sql" files are Oracle SQL by default.
|
||||
|
||||
If you want to use the Informix dialect, put this in your startup vimrc: >
|
||||
:let g:filetype_sql = "sqlinformix"
|
||||
|
||||
|
||||
TCSH *tcsh.vim* *tcsh-syntax*
|
||||
|
||||
This covers the shell named "tcsh". It is a superset of csh. See |csh.vim|
|
||||
@ -3514,6 +3545,8 @@ in their own color.
|
||||
":colorscheme" in a color scheme script.
|
||||
After the color scheme has been loaded the
|
||||
|ColorScheme| autocommand event is triggered.
|
||||
For info about writing a colorscheme file: >
|
||||
:edit $VIMRUNTIME/colors/README.txt
|
||||
|
||||
:hi[ghlight] List all the current highlight groups that have
|
||||
attributes set.
|
||||
|
||||
@ -1994,6 +1994,8 @@ $VIMRUNTIME starting.txt /*$VIMRUNTIME*
|
||||
:jumps motion.txt /*:jumps*
|
||||
:k motion.txt /*:k*
|
||||
:kee motion.txt /*:kee*
|
||||
:keepa editing.txt /*:keepa*
|
||||
:keepalt editing.txt /*:keepalt*
|
||||
:keepj motion.txt /*:keepj*
|
||||
:keepjumps motion.txt /*:keepjumps*
|
||||
:keepmarks motion.txt /*:keepmarks*
|
||||
@ -4143,6 +4145,8 @@ catch-interrupt eval.txt /*catch-interrupt*
|
||||
catch-order eval.txt /*catch-order*
|
||||
catch-text eval.txt /*catch-text*
|
||||
cc change.txt /*cc*
|
||||
ch-syntax syntax.txt /*ch-syntax*
|
||||
ch.vim syntax.txt /*ch.vim*
|
||||
change-list-jumps motion.txt /*change-list-jumps*
|
||||
change.txt change.txt /*change.txt*
|
||||
changed-5.1 version5.txt /*changed-5.1*
|
||||
@ -4689,6 +4693,7 @@ fortran-syntax syntax.txt /*fortran-syntax*
|
||||
fortran.vim syntax.txt /*fortran.vim*
|
||||
french-maillist intro.txt /*french-maillist*
|
||||
frombook usr_01.txt /*frombook*
|
||||
ftdetect filetype.txt /*ftdetect*
|
||||
ftp pi_netrw.txt /*ftp*
|
||||
ftplugin usr_41.txt /*ftplugin*
|
||||
ftplugin-docs filetype.txt /*ftplugin-docs*
|
||||
@ -4730,7 +4735,7 @@ g:explSuffixesLast pi_expl.txt /*g:explSuffixesLast*
|
||||
g:explUseSeparators pi_expl.txt /*g:explUseSeparators*
|
||||
g:explVertical pi_expl.txt /*g:explVertical*
|
||||
g:explWinSize pi_expl.txt /*g:explWinSize*
|
||||
g:netrw_a pi_netrw.txt /*g:netrw_a*
|
||||
g:netrw-a pi_netrw.txt /*g:netrw-a*
|
||||
g:netrw_list_cmd pi_netrw.txt /*g:netrw_list_cmd*
|
||||
g:netrw_list_hide pi_netrw.txt /*g:netrw_list_hide*
|
||||
g:netrw_rm_cmd pi_netrw.txt /*g:netrw_rm_cmd*
|
||||
@ -5434,19 +5439,22 @@ netbeans-support netbeans.txt /*netbeans-support*
|
||||
netbeans.txt netbeans.txt /*netbeans.txt*
|
||||
netrw pi_netrw.txt /*netrw*
|
||||
netrw-- pi_netrw.txt /*netrw--*
|
||||
netrw-B pi_netrw.txt /*netrw-B*
|
||||
netrw-D pi_netrw.txt /*netrw-D*
|
||||
netrw-H pi_netrw.txt /*netrw-H*
|
||||
netrw-M pi_netrw.txt /*netrw-M*
|
||||
netrw-R pi_netrw.txt /*netrw-R*
|
||||
netrw-S pi_netrw.txt /*netrw-S*
|
||||
netrw-activate pi_netrw.txt /*netrw-activate*
|
||||
netrw-b pi_netrw.txt /*netrw-b*
|
||||
netrw-browse pi_netrw.txt /*netrw-browse*
|
||||
netrw-browse-cmds pi_netrw.txt /*netrw-browse-cmds*
|
||||
netrw-browse-var pi_netrw.txt /*netrw-browse-var*
|
||||
netrw-c-l pi_netrw.txt /*netrw-c-l*
|
||||
netrw-c pi_netrw.txt /*netrw-c*
|
||||
netrw-cadaver pi_netrw.txt /*netrw-cadaver*
|
||||
netrw-contents pi_netrw.txt /*netrw-contents*
|
||||
netrw-cr pi_netrw.txt /*netrw-cr*
|
||||
netrw-credits pi_netrw.txt /*netrw-credits*
|
||||
netrw-ctrl-l pi_netrw.txt /*netrw-ctrl-l*
|
||||
netrw-d pi_netrw.txt /*netrw-d*
|
||||
netrw-debug pi_netrw.txt /*netrw-debug*
|
||||
netrw-delete pi_netrw.txt /*netrw-delete*
|
||||
netrw-dir pi_netrw.txt /*netrw-dir*
|
||||
@ -5454,6 +5462,7 @@ netrw-ex pi_netrw.txt /*netrw-ex*
|
||||
netrw-file pi_netrw.txt /*netrw-file*
|
||||
netrw-fixup pi_netrw.txt /*netrw-fixup*
|
||||
netrw-ftp pi_netrw.txt /*netrw-ftp*
|
||||
netrw-h pi_netrw.txt /*netrw-h*
|
||||
netrw-help pi_netrw.txt /*netrw-help*
|
||||
netrw-history pi_netrw.txt /*netrw-history*
|
||||
netrw-i pi_netrw.txt /*netrw-i*
|
||||
@ -5461,13 +5470,17 @@ netrw-list pi_netrw.txt /*netrw-list*
|
||||
netrw-list-hack pi_netrw.txt /*netrw-list-hack*
|
||||
netrw-move pi_netrw.txt /*netrw-move*
|
||||
netrw-netrc pi_netrw.txt /*netrw-netrc*
|
||||
netrw-nread pi_netrw.txt /*netrw-nread*
|
||||
netrw-nwrite pi_netrw.txt /*netrw-nwrite*
|
||||
netrw-o pi_netrw.txt /*netrw-o*
|
||||
netrw-options pi_netrw.txt /*netrw-options*
|
||||
netrw-passwd pi_netrw.txt /*netrw-passwd*
|
||||
netrw-path pi_netrw.txt /*netrw-path*
|
||||
netrw-protocol pi_netrw.txt /*netrw-protocol*
|
||||
netrw-q pi_netrw.txt /*netrw-q*
|
||||
netrw-r pi_netrw.txt /*netrw-r*
|
||||
netrw-read pi_netrw.txt /*netrw-read*
|
||||
netrw-ref pi_netrw.txt /*netrw-ref*
|
||||
netrw-remove pi_netrw.txt /*netrw-remove*
|
||||
netrw-rename pi_netrw.txt /*netrw-rename*
|
||||
netrw-s pi_netrw.txt /*netrw-s*
|
||||
netrw-transparent pi_netrw.txt /*netrw-transparent*
|
||||
@ -5475,6 +5488,8 @@ netrw-uidpass pi_netrw.txt /*netrw-uidpass*
|
||||
netrw-urls pi_netrw.txt /*netrw-urls*
|
||||
netrw-v pi_netrw.txt /*netrw-v*
|
||||
netrw-var pi_netrw.txt /*netrw-var*
|
||||
netrw-variables pi_netrw.txt /*netrw-variables*
|
||||
netrw-write pi_netrw.txt /*netrw-write*
|
||||
netrw-x pi_netrw.txt /*netrw-x*
|
||||
netrw-xfer pi_netrw.txt /*netrw-xfer*
|
||||
netrw.vim pi_netrw.txt /*netrw.vim*
|
||||
@ -5966,6 +5981,10 @@ sponsor.txt sponsor.txt /*sponsor.txt*
|
||||
spoon os_unix.txt /*spoon*
|
||||
spup-syntax syntax.txt /*spup-syntax*
|
||||
spup.vim syntax.txt /*spup.vim*
|
||||
sql-syntax syntax.txt /*sql-syntax*
|
||||
sql.vim syntax.txt /*sql.vim*
|
||||
sqlinformix-syntax syntax.txt /*sqlinformix-syntax*
|
||||
sqlinformix.vim syntax.txt /*sqlinformix.vim*
|
||||
sscanf eval.txt /*sscanf*
|
||||
standard-plugin usr_05.txt /*standard-plugin*
|
||||
standard-plugin-list help.txt /*standard-plugin-list*
|
||||
|
||||
@ -1,4 +1,4 @@
|
||||
*todo.txt* For Vim version 7.0aa. Last change: 2004 Jul 28
|
||||
*todo.txt* For Vim version 7.0aa. Last change: 2004 Aug 31
|
||||
|
||||
|
||||
VIM REFERENCE MANUAL by Bram Moolenaar
|
||||
@ -30,6 +30,17 @@ be worked on, but only if you sponsor Vim development. See |sponsor|.
|
||||
*known-bugs*
|
||||
-------------------- Known bugs and current work -----------------------
|
||||
|
||||
Multi-byte char in file name causes trouble for opening, "send to" menu and
|
||||
writing. Patches from Taro Muraoka:
|
||||
~/Mail/oldmail/muraoka/in.00575
|
||||
~/Mail/oldmail/muraoka/in.00577
|
||||
|
||||
Is there a limit on the buffer list in the viminfo file?
|
||||
":n ~/.trashcan/bogus*" fills it.
|
||||
|
||||
When gvim is started from the context menu the xxd menu entries don't work
|
||||
(Valencia). xxd.exe is not in $VIMRUNTIME.
|
||||
|
||||
Aborting at the ATTENTION prompt causes trouble:
|
||||
buffer remains active, nwindows isn't closed (fixed in buffer.c)
|
||||
alternate buffer gets "read error" flag.
|
||||
@ -44,6 +55,12 @@ Added ga_append() here: (also to 6.3?)
|
||||
gui_do_findrepl(flags, find_text, repl_text, down)
|
||||
serverGetVimNames(dpy) if_xcmdsrv.c, os_mswin.c
|
||||
|
||||
Win32: When the path to a file has Russian characters, ":cd %:p:h" doesn't
|
||||
work. (Valery Kondakoff)
|
||||
|
||||
Win32: When an argument is typed in a console in the active codepage, and
|
||||
'encoding' is "utf-8", detect this from illegal characters. Convert from
|
||||
console or active codepage to utf-8 then.
|
||||
|
||||
For version 7.0:
|
||||
- Include many PATCHES:
|
||||
@ -81,6 +98,8 @@ For version 7.0:
|
||||
Patch from Yakov Lerner, including test (2004 Jan 7).
|
||||
VimResized - When the Vim window has been resized (SIGWINCH)
|
||||
patch from Yakov Lerner, 2003 July 24.
|
||||
Patch for specifying an expression for numbered lists. (Hugo Haas,
|
||||
2004 Aug 7)
|
||||
--- awaiting updated patch ---
|
||||
7 Add patch from Wall for this one ( ~/Mail/oldmail/wall/in.00019 ):
|
||||
'flipcase' variable: upper/lowercase pairs.
|
||||
@ -230,7 +249,8 @@ For version 7.0:
|
||||
- STICKY CURSOR: Add a way of scrolling that leaves the cursor where it is.
|
||||
Especially when using the scrollbar. Typing a cursor-movement command
|
||||
scrolls back to where the cursor is.
|
||||
8 Support four composing characters, needed for Hebrew. (Ron Aaron)
|
||||
8 Support four composing/combining characters, needed for Hebrew. (Ron Aaron)
|
||||
Add the 'maxcombining' option to set the nr. of composing characters.
|
||||
- Add a few more things to 'diffopt': "horizontal", "vertical",
|
||||
"foldcolumn". (Benji Fisher, 2004 Jun 21)
|
||||
- FileChangedShellPost autocommand event: after (not) reloading a changed
|
||||
@ -256,6 +276,14 @@ For version 7.0:
|
||||
the part that already matched is doubled then. Remove the part of the
|
||||
word that would be doubled. Make it work line CTRL-N in Insert mode.
|
||||
- Add Lua interface? (Wolfgang Oertl)
|
||||
- "onemore" flag in 'virtualedit': move cursor past end of line. Patch by
|
||||
Mattias Flodin (2004 Jul 30)
|
||||
|
||||
Support ":set syntax=cpp.doxygen"? Suggested patch by Michael Geddes (9 Aug
|
||||
2004). Should also work for 'filetype'.
|
||||
|
||||
Patch for 'breakindent' option: repeat indent for wrapped line. (Vaclav
|
||||
Smilauer, 2004 Aug 17)
|
||||
|
||||
|
||||
Vi incompatibility:
|
||||
@ -365,6 +393,9 @@ Win32 GUI known bugs:
|
||||
"lucida_console:h8").
|
||||
6 Win32 GUI: With "-u NONE -U NONE" and doing "CTRL-W v" "CTRL-W o", the ":"
|
||||
of ":only" is highlighted like the cursor. (Lipelis)
|
||||
8 When 'encoding' is "utf-8", should use 'guifont' for both normal and wide
|
||||
characters to make Asian languages work. Win32 fonts contain both
|
||||
type of characters.
|
||||
7 When font smoothing is enabled, redrawing can become very slow. The reason
|
||||
appears to be drawing with a transparent background. Would it be possible
|
||||
to use an opaque background in most places?
|
||||
@ -1081,6 +1112,8 @@ Problems that will (probably) not be solved:
|
||||
*extensions-improvements*
|
||||
|
||||
Documentation:
|
||||
8 List of options should mention whether environment variables are expanded
|
||||
or not.
|
||||
8 Extend usr_27.txt a bit. (Adam Seyfarth)
|
||||
7 Add a section on debugging scripts in the user manual.
|
||||
9 Make the Reference Manual more precise. For each command mention:
|
||||
@ -2973,6 +3006,8 @@ Various improvements:
|
||||
the buffer. Buffer may be modified.
|
||||
6 In the quickfix window statusline add the command used to get the list of
|
||||
errors, e.g. ":make foo", ":grep something *.c".
|
||||
7 Add a ":cstring" command. Works like ":cfile" but reads from a string
|
||||
variable. Also accept a list variable?
|
||||
6 Python interface: add vim.message() function. (Michal Vitecek, 2002 Nov 5)
|
||||
7 Support using ":vert" with User commands. Add expandable items <vert>.
|
||||
Do the same for ":browse" and ":confirm"?
|
||||
|
||||
@ -1,4 +1,4 @@
|
||||
*uganda.txt* For Vim version 7.0aa. Last change: 2004 May 12
|
||||
*uganda.txt* For Vim version 7.0aa. Last change: 2004 Aug 29
|
||||
|
||||
|
||||
VIM REFERENCE MANUAL by Bram Moolenaar
|
||||
@ -214,7 +214,7 @@ Check the ICCF web site for the latest information! See |iccf| for the URL.
|
||||
USA and Canada: Contact Kibaale Children's Fund (KCF) in Surrey, Canada. They
|
||||
take care of the Canadian sponsors for the children in
|
||||
Kibaale. You can send them a one time donation directly.
|
||||
Please send me a note so that know what has been donated
|
||||
Please send me a note so that I know what has been donated
|
||||
because of Vim. Ask KCF for information about sponsorship.
|
||||
Kibaale Children's Fund c/o Pacific Academy
|
||||
10238-168 Street
|
||||
|
||||
@ -1,4 +1,4 @@
|
||||
*usr_05.txt* For Vim version 7.0aa. Last change: 2004 Jun 24
|
||||
*usr_05.txt* For Vim version 7.0aa. Last change: 2004 Aug 27
|
||||
|
||||
VIM USER MANUAL - by Bram Moolenaar
|
||||
|
||||
@ -427,6 +427,8 @@ you already have the directory.) >
|
||||
:!mkdir ~/.vim/plugin
|
||||
:!cp $VIMRUNTIME/macros/matchit.vim ~/.vim/plugin
|
||||
|
||||
The "cp" command is for Unix, on MS-DOS you can use "copy".
|
||||
|
||||
Now create a "doc" directory in one of the directories in 'runtimepath'. >
|
||||
|
||||
:!mkdir ~/.vim/doc
|
||||
|
||||
@ -1,4 +1,4 @@
|
||||
*usr_41.txt* For Vim version 7.0aa. Last change: 2004 May 06
|
||||
*usr_41.txt* For Vim version 7.0aa. Last change: 2004 Aug 28
|
||||
|
||||
VIM USER MANUAL - by Bram Moolenaar
|
||||
|
||||
|
||||
@ -1,4 +1,4 @@
|
||||
*version7.txt* For Vim version 7.0aa. Last change: 2004 Jul 27
|
||||
*version7.txt* For Vim version 7.0aa. Last change: 2004 Sep 01
|
||||
|
||||
|
||||
VIM REFERENCE MANUAL by Bram Moolenaar
|
||||
@ -120,6 +120,8 @@ Win32: The ":winpos" command now also works in the console. (Vipin Aravind)
|
||||
|:diffoff| Switch off diff mode in the current window or in all
|
||||
windows.
|
||||
|
||||
|:keepalt| Do not change the alternate file.
|
||||
|
||||
|
||||
New functions: ~
|
||||
|
||||
@ -148,6 +150,10 @@ New Syntax/Indent/FTplugin files: ~
|
||||
|
||||
MuPAD source syntax, indent and ftplugin. (Dave Silvia)
|
||||
|
||||
ABAB/4 syntax file. (Marius van Wyk)
|
||||
|
||||
SQL-Informix syntax file. (Dean L Hill)
|
||||
|
||||
|
||||
Others: ~
|
||||
|
||||
@ -195,6 +201,20 @@ Lakshmanan)
|
||||
|
||||
Added 'n' flag to search(): don't move the cursor. (Nikolai Weibull)
|
||||
|
||||
When uncompressing fails in the gzip plugin, give an error message but don't
|
||||
delete the raw text. Helps if the file has a .gz extension but is not
|
||||
actually compressed. (Andrew Pimlott)
|
||||
|
||||
When C, C++ or IDL syntax is used, may additionally load doxygen syntax.
|
||||
Also support setting the filetype to "cdoxygen" for C plus doxygen syntax.
|
||||
(Michael Geddes)
|
||||
|
||||
The ":registers" command now displays multi-byte characters properly.
|
||||
|
||||
VMS: In the usage message mention that a slash can be used to make a flag
|
||||
upper case. Add color support to the builtin vt320 terminal codes.
|
||||
(Zoltan Arpadffy)
|
||||
|
||||
==============================================================================
|
||||
COMPILE TIME CHANGES *compile-changes-7*
|
||||
|
||||
@ -293,4 +313,21 @@ When using the ":saveas f2" command for buffer "f1", the Buffers menu would
|
||||
contain "f2" twice, one of them leading to "f1". Also trigger the BufFilePre
|
||||
and BufFilePost events for the alternate buffer that gets the old name.
|
||||
|
||||
strridx() did not work well when the needle is empty. (Ciaran McCreesh)
|
||||
|
||||
GTK: Avoid a potential hang in gui_mch_wait_for_chars() when input arrives
|
||||
just before it is invoked
|
||||
|
||||
VMS: Occasionally CR characters were inserted in the file. Expansion of
|
||||
environment variables was not correct. (Zoltan Arpadffy)
|
||||
|
||||
UTF-8: When 'delcombine' is set "dw" only deleted the last combining character
|
||||
from the first character of the word.
|
||||
|
||||
When using ":sball" in an autocommand only the filetype in one buffer was
|
||||
detected. Reset did_filetype in enter_buffer().
|
||||
|
||||
When using ":argdo" and the window already was at the first argument index,
|
||||
but not actually editing it, the current buffer would be used instead.
|
||||
|
||||
vim:tw=78:ts=8:ft=help:norl:
|
||||
|
||||
Reference in New Issue
Block a user