updated for version 7.0004
This commit is contained in:
@ -1,4 +1,4 @@
|
||||
*autocmd.txt* For Vim version 7.0aa. Last change: 2004 Jun 30
|
||||
*autocmd.txt* For Vim version 7.0aa. Last change: 2004 Jul 01
|
||||
|
||||
|
||||
VIM REFERENCE MANUAL by Bram Moolenaar
|
||||
@ -486,6 +486,8 @@ InsertLeave When leaving Insert mode. Also when using
|
||||
*FileEncoding*
|
||||
FileEncoding Obsolete. It still works and is equivalent
|
||||
to |EncodingChanged|.
|
||||
*ColorScheme*
|
||||
ColorScheme After loading a color scheme. |:colorscheme|
|
||||
*RemoteReply*
|
||||
RemoteReply When a reply from a Vim that functions as
|
||||
server was received |server2client()|.
|
||||
|
||||
@ -1,4 +1,4 @@
|
||||
*cmdline.txt* For Vim version 7.0aa. Last change: 2004 Mar 31
|
||||
*cmdline.txt* For Vim version 7.0aa. Last change: 2004 Jul 01
|
||||
|
||||
|
||||
VIM REFERENCE MANUAL by Bram Moolenaar
|
||||
@ -45,12 +45,13 @@ thus you cannot edit beyond that.
|
||||
|
||||
*cmdline-history* *history*
|
||||
The command-lines that you enter are remembered in a history table. You can
|
||||
recall them with the up and down cursor keys. There are actually four
|
||||
recall them with the up and down cursor keys. There are actually five
|
||||
history tables:
|
||||
- one for ':' commands
|
||||
- one for search strings
|
||||
- one for expressions
|
||||
- one for input lines, typed for the |input()| function.
|
||||
- one for debug mode commands
|
||||
These are completely separate. Each history can only be accessed when
|
||||
entering the same type of line.
|
||||
Use the 'history' option to set the number of lines that are remembered
|
||||
@ -305,6 +306,7 @@ terminals)
|
||||
s[earch] or / search string history
|
||||
e[xpr] or = expression register history
|
||||
i[nput] or @ input line history
|
||||
d[ebug] or > debug command history
|
||||
a[ll] all of the above
|
||||
{not in Vi}
|
||||
|
||||
|
||||
@ -1,4 +1,4 @@
|
||||
*gui_x11.txt* For Vim version 7.0aa. Last change: 2004 Mar 16
|
||||
*gui_x11.txt* For Vim version 7.0aa. Last change: 2004 Jul 02
|
||||
|
||||
|
||||
VIM REFERENCE MANUAL by Bram Moolenaar
|
||||
@ -435,7 +435,7 @@ the WM to identify the window by restoring the window role (using the |--role|
|
||||
command line argument).
|
||||
|
||||
==============================================================================
|
||||
7. KDE version *gui-kde* *KDE* *KVim*
|
||||
7. KDE version *gui-kde* *kde* *KDE* *KVim*
|
||||
|
||||
The KDE version of Vim works with KDE 2.x and KDE 3.x.
|
||||
KVim (name code for gui-kde) does not use traditional X settings for its
|
||||
|
||||
@ -96,6 +96,6 @@ Bug or Comment
|
||||
Send comments, patches and suggestions to:
|
||||
|
||||
Chi-Deok Hwang <hwang@mizi.co.kr>
|
||||
Nam SungHyun <namsh@lge.com>
|
||||
Nam SungHyun <namsh@kldp.org>
|
||||
|
||||
vim:tw=78:ts=8:ft=help:norl:
|
||||
|
||||
@ -1,4 +1,4 @@
|
||||
*index.txt* For Vim version 7.0aa. Last change: 2004 Jun 16
|
||||
*index.txt* For Vim version 7.0aa. Last change: 2004 Jul 02
|
||||
|
||||
|
||||
VIM REFERENCE MANUAL by Bram Moolenaar
|
||||
@ -89,7 +89,7 @@ tag char action ~
|
||||
|i_CTRL-V_digit| CTRL-V {number} insert three digit decimal number as a single
|
||||
byte.
|
||||
|i_CTRL-W| CTRL-W delete word before the cursor
|
||||
|i_CTRL-X| CTRL-X {mode} enter CTRL-X sub mode, see below
|
||||
|i_CTRL-X| CTRL-X {mode} enter CTRL-X sub mode, see |i_CTRL-X_index|
|
||||
|i_CTRL-Y| CTRL-Y insert the character which is above the cursor
|
||||
|i_CTRL-Z| CTRL-Z when 'insertmode' set: suspend Vim
|
||||
|i_<Esc>| <Esc> end insert mode (unless 'insertmode' set)
|
||||
@ -141,7 +141,7 @@ tag char action ~
|
||||
|i_<MouseUp>| <MouseUp> scroll three lines upwards
|
||||
|i_<S-MouseUp>| <S-MouseUp> scroll a full page upwards
|
||||
|
||||
commands in CTRL-X submode
|
||||
commands in CTRL-X submode *i_CTRL-X_index*
|
||||
|
||||
|i_CTRL-X_CTRL-D| CTRL-X CTRL-D complete defined identifiers
|
||||
|i_CTRL-X_CTRL-E| CTRL-X CTRL-E scroll up
|
||||
@ -153,6 +153,8 @@ commands in CTRL-X submode
|
||||
|i_CTRL-X_CTRL-P| CTRL-X CTRL-P previous completion
|
||||
|i_CTRL-X_CTRL-T| CTRL-X CTRL-T complete identifiers from thesaurus
|
||||
|i_CTRL-X_CTRL-Y| CTRL-X CTRL-Y scroll down
|
||||
|i_CTRL-X_CTRL-U| CTRL-X CTRL-U complete with 'completefunc'
|
||||
|i_CTRL-X_CTRL-V| CTRL-X CTRL-V complete like in : command line
|
||||
|i_CTRL-X_CTRL-]| CTRL-X CTRL-] complete tags
|
||||
{not available when compiled without the +insert_expand feature}
|
||||
|
||||
@ -449,6 +451,8 @@ These can be used after an operator or in Visual mode to select an object.
|
||||
|
||||
tag command action in Normal mode ~
|
||||
------------------------------------------------------------------------------
|
||||
|v_aquote| a" double quoted string
|
||||
|v_a'| a' single quoted string
|
||||
|v_a(| a( same as ab
|
||||
|v_a)| a) same as ab
|
||||
|v_a<| a< "a <>" from '<' to the matching '>'
|
||||
@ -457,12 +461,15 @@ tag command action in Normal mode ~
|
||||
|v_aW| aW "a WORD" (with white space)
|
||||
|v_a[| a[ "a []" from '[' to the matching ']'
|
||||
|v_a]| a] same as a[
|
||||
|v_a`| a` string in backticks
|
||||
|v_ab| ab "a block" from "[(" to "])" (with braces)
|
||||
|v_ap| ap "a paragraph" (with white space)
|
||||
|v_as| as "a sentence" (with white space)
|
||||
|v_aw| aw "a word" (with white space)
|
||||
|v_a{| a{ same as aB
|
||||
|v_a}| a} same as aB
|
||||
|v_iquote| i" double quoted string without the quotes
|
||||
|v_i'| i' single quoted string without the quotes
|
||||
|v_i(| i( same as ib
|
||||
|v_i)| i) same as ib
|
||||
|v_i<| i< "inner <>" from '<' to the matching '>'
|
||||
@ -471,6 +478,7 @@ tag command action in Normal mode ~
|
||||
|v_iW| iW "inner WORD"
|
||||
|v_i[| i[ "inner []" from '[' to the matching ']'
|
||||
|v_i]| i] same as i[
|
||||
|v_i`| i` string in backticks without the backticks
|
||||
|v_ib| ib "inner block" from "[(" to "])"
|
||||
|v_ip| ip "inner paragraph"
|
||||
|v_is| is "inner sentence"
|
||||
|
||||
@ -1,4 +1,4 @@
|
||||
*insert.txt* For Vim version 7.0aa. Last change: 2004 Jun 24
|
||||
*insert.txt* For Vim version 7.0aa. Last change: 2004 Jul 02
|
||||
|
||||
|
||||
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
|
||||
completion, for example: >
|
||||
:imap <Tab> <C-X><C-V>
|
||||
|
||||
User defined completing *compl-function*
|
||||
|
||||
Completion is done by a function that can be defined by the user with the
|
||||
'completefunc' option. See the option for how the function is called and an
|
||||
example.
|
||||
|
||||
*i_CTRL-X_CTRL-U*
|
||||
CTRL-X CTRL-U Guess what kind of item is in front of the cursor and
|
||||
find the first match for it.
|
||||
CTRL-U or
|
||||
CTRL-N Use the next match. This match replaces the previous
|
||||
one.
|
||||
|
||||
CTRL-P Use the previous match. This match replaces the
|
||||
previous one.
|
||||
|
||||
|
||||
Completing keywords from different sources *compl-generic*
|
||||
|
||||
*i_CTRL-N*
|
||||
|
||||
@ -1360,7 +1360,7 @@ options.txt for detailed information.
|
||||
|
||||
Contributions specifically for the multi-byte features by:
|
||||
Chi-Deok Hwang <hwang@mizi.co.kr>
|
||||
Nam SungHyun <namsh@lge.com>
|
||||
Nam SungHyun <namsh@kldp.org>
|
||||
K.Nagano <nagano@atese.advantest.co.jp>
|
||||
Taro Muraoka <koron@tka.att.ne.jp>
|
||||
Yasuhiro Matsumoto <mattn@mail.goo.ne.jp>
|
||||
|
||||
@ -1,4 +1,4 @@
|
||||
*motion.txt* For Vim version 7.0aa. Last change: 2004 Jun 17
|
||||
*motion.txt* For Vim version 7.0aa. Last change: 2004 Jul 02
|
||||
|
||||
|
||||
VIM REFERENCE MANUAL by Bram Moolenaar
|
||||
@ -597,6 +597,26 @@ iB "inner Block", select [count] Blocks, from "[count] [{"
|
||||
|[{|).
|
||||
When used in Visual mode it is made characterwise.
|
||||
|
||||
a" *v_aquote* *aquote*
|
||||
a' *v_a'* *a'*
|
||||
a` *v_a`* *a`*
|
||||
"a quoted string". Selects the text from the previous
|
||||
quote until the next quote. The 'quoteescape' is used
|
||||
to skip escaped quotes.
|
||||
When the cursor starts on a quote, Vim will figure out
|
||||
which quote pairs form a string by searching from the
|
||||
start of the line.
|
||||
Any trailing or leading white space is included.
|
||||
When used in Visual mode it is made characterwise.
|
||||
Repeating this object in Visual mode another string is
|
||||
included. A count is currently not used.
|
||||
|
||||
i" *v_iquote* *iquote*
|
||||
i' *v_i'* *i'*
|
||||
i` *v_i`* *i`*
|
||||
Like a", a' and a`, but exclude the quotes and
|
||||
repeating won't extend the Visual selection.
|
||||
|
||||
When used after an operator:
|
||||
For non-block objects:
|
||||
For the "a" commands: The operator applies to the object and the white
|
||||
|
||||
@ -1,4 +1,4 @@
|
||||
*options.txt* For Vim version 7.0aa. Last change: 2004 Jun 28
|
||||
*options.txt* For Vim version 7.0aa. Last change: 2004 Jul 02
|
||||
|
||||
|
||||
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|.
|
||||
based expansion (eg dictionary |i_CTRL-X_CTRL-K|, included patterns
|
||||
|i_CTRL-X_CTRL-I|, tags |i_CTRL-X_CTRL-]| and normal expansions)
|
||||
|
||||
*'completefunc'* *'cfu'*
|
||||
'completefunc' 'cfu' string (default: empty)
|
||||
local to buffer
|
||||
{not in Vi}
|
||||
This option specifies a completion function to be used for CTRL-X
|
||||
CTRL-X. The function will be invoked with four arguments:
|
||||
a:line the text of the current line
|
||||
a:base the text with which matches should match
|
||||
a:col column in a:line where the cursor is, first column is
|
||||
zero
|
||||
a:findstart either 1 or 0
|
||||
When the a:findstart argument is 1, the function must return the
|
||||
column of where the completion starts. It must be a number between
|
||||
zero and "a:col". This involves looking at the characters in a:line
|
||||
before column a:col and include those characters that could be part of
|
||||
the completed item.
|
||||
When the a:findstart argument is 0 the function must return a string
|
||||
with the matching words, separated by newlines. When there are no
|
||||
matches return an empty string.
|
||||
An example that completes the names of the months: >
|
||||
fun! CompleteMonths(line, base, col, findstart)
|
||||
if a:findstart
|
||||
" locate start column of word
|
||||
let start = a:col
|
||||
while start > 0 && a:line[start - 1] =~ '\a'
|
||||
let start = start - 1
|
||||
endwhile
|
||||
return start
|
||||
else
|
||||
" find months matching with "a:base"
|
||||
let res = "Jan Feb Mar Apr May Jun Jul Aug Sep Oct Nov Dec"
|
||||
if a:base != ''
|
||||
let res = substitute(res, '\c\<\(\(' . a:base . '.\{-}\>\)\|.\{-}\>\)', '\2', 'g')
|
||||
endif
|
||||
let res = substitute(res, ' \+', "\n", 'g')
|
||||
return res
|
||||
endif
|
||||
endfun
|
||||
set completefunc=CompleteMonths
|
||||
< Note that a substitute() function is used to reduce the list of
|
||||
possible values and remove the ones that don't match the base. The
|
||||
part before the "\|" matches the base, the part after it is used
|
||||
when there is no match. The "\2" in the replacement is empty if the
|
||||
part before the "\|" does not match.
|
||||
|
||||
*'confirm'* *'cf'* *'noconfirm'* *'nocf'*
|
||||
'confirm' 'cf' boolean (default off)
|
||||
global
|
||||
@ -3082,6 +3127,7 @@ A jump table for the options with a short description can be found at |Q_op|.
|
||||
hidden although the 'hidden' option is off: When the buffer is
|
||||
modified, 'autowrite' is off or writing is not possible, and the '!'
|
||||
flag was used. See also |windows.txt|.
|
||||
To only make one buffer hidden use the 'bufhidden' option.
|
||||
This option is set for one command with ":hide {command}" |:hide|.
|
||||
WARNING: It's easy to forget that you have changes in hidden buffers.
|
||||
Think twice when using ":q!" or ":qa!".
|
||||
@ -3835,6 +3881,8 @@ A jump table for the options with a short description can be found at |Q_op|.
|
||||
precedes:c Character to show in the first column, when 'wrap'
|
||||
is off and there is text preceding the character
|
||||
visible in the first column.
|
||||
nbsp:c Character to show for non-breakable space. Left to
|
||||
blank when omitted.
|
||||
|
||||
The characters ':' and ',' should not be used. UTF-8 characters can
|
||||
be used when 'encoding' is "utf-8", otherwise only printable
|
||||
@ -3842,10 +3890,10 @@ A jump table for the options with a short description can be found at |Q_op|.
|
||||
|
||||
Examples: >
|
||||
:set lcs=tab:>-,trail:-
|
||||
:set lcs=tab:>-,eol:<
|
||||
:set lcs=tab:>-,eol:<,nbsp:%
|
||||
:set lcs=extends:>,precedes:<
|
||||
< The "NonText" highlighting will be used for "eol", "extends" and
|
||||
"precedes". "SpecialKey" for "tab" and "trail".
|
||||
"precedes". "SpecialKey" for "nbsp", "tab" and "trail".
|
||||
|
||||
*'lpl'* *'nolpl'* *'loadplugins'* *'noloadplugins'*
|
||||
'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|.
|
||||
Example: >
|
||||
:set printoptions=paper:letter,duplex:off
|
||||
<
|
||||
*'quoteescape''* *'qe'*
|
||||
'quoteescape' 'qe' string (default "\")
|
||||
local to buffer
|
||||
{not in Vi}
|
||||
The characters that are used to escape quotes in a string. Used for
|
||||
objects like a', a" and a` |a'|.
|
||||
When one of the characters in this option is found inside a string,
|
||||
the following character will be skipped. The default value makes the
|
||||
text "foo\"bar\\" considered to be one string.
|
||||
|
||||
*'readonly'* *'ro'* *'noreadonly'* *'noro'*
|
||||
'readonly' 'ro' boolean (default off)
|
||||
local to buffer
|
||||
|
||||
@ -17,6 +17,20 @@
|
||||
5. Ex Commands.........................................|netrw-ex|
|
||||
6. Variables and Options...............................|netrw-var|
|
||||
7. Remote Directory Browser............................|netrw-browse|
|
||||
?..........Help....................................|netrw-help|
|
||||
<cr>.......Browsing................................|netrw-cr|
|
||||
<c-l>......Refreshing the Listing..................|netrw-c-l|
|
||||
<del>......Removing Files or Directories...........|netrw-delete|
|
||||
D..........Removing Files or Directories...........|netrw-D|
|
||||
R..........Renaming Files or Directories...........|netrw-R|
|
||||
-..........Going Up................................|netrw--|
|
||||
a..........Hiding Files or Directories.............|netrw-a|
|
||||
h..........Edit File/Directory Hiding..............|netrw-h|
|
||||
o..........Browsing with a Horizontal Split........|netrw-o|
|
||||
r..........Reversing Sorting Order.................|netrw-r|
|
||||
s..........Selecting Sorting Style.................|netrw-s|
|
||||
v..........Browsing with a Vertical Split..........|netrw-v|
|
||||
x..........Customizing Browsing....................|netrw-x|
|
||||
8. Debugging...........................................|netrw-debug|
|
||||
9. History.............................................|netrw-history|
|
||||
10. Credits.............................................|netrw-credits|
|
||||
@ -414,6 +428,7 @@ variables listed below, and may be modified by the user.
|
||||
g:netrw_sftp_cmd variable ="sftp" >
|
||||
-------------------------------------------------------------------------
|
||||
<
|
||||
*netrw-ftp*
|
||||
The first two options both help with certain ftp's that give trouble otherwise.
|
||||
In order to best understand how to use these options if ftp is giving you
|
||||
troubles, a bit of discussion follows on how netrw does ftp reads.
|
||||
@ -455,6 +470,11 @@ requested it and the temporary file deleted.
|
||||
If your ftp doesn't accept the "user" command and immediately just demands
|
||||
a userid, then try putting "let netrw_ftp=1" in your <.vimrc>.
|
||||
|
||||
*netrw-cadaver*
|
||||
To handle the SSL certificate dialog for untrusted servers, one may pull
|
||||
down the certificate and place it into /usr/ssl/cert.pem. This operation
|
||||
renders the server treatment as "trusted".
|
||||
|
||||
*netrw-fixup*
|
||||
If your ftp for whatever reason generates unwanted lines (such as AUTH
|
||||
messages) you may write a NetReadFixup(tmpfile) function:
|
||||
@ -493,24 +513,26 @@ from <netrw.vim> itself:
|
||||
>
|
||||
|
||||
==============================================================================
|
||||
7. Remote Directory Browser *netrw-browse* *netrw-dir* *netrw-list*
|
||||
7. Remote Directory Browser *netrw-browse* *netrw-dir* *netrw-list* *netrw-help*
|
||||
>
|
||||
------- -----------
|
||||
Command Explanation
|
||||
------- -----------
|
||||
? 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 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
|
||||
o Enter the file/directory under the cursor in a new browser
|
||||
window. A horizontal split is used.
|
||||
r Reverse sorting order
|
||||
s Select sorting style: by name, time, or file size
|
||||
v Enter the file/directory under the cursor in a new browser
|
||||
window. A vertical split is used.
|
||||
x Apply a function to a file.
|
||||
<c-l> Causes Netrw to refresh the directory listing
|
||||
? Causes Netrw to issue help
|
||||
<
|
||||
*netrw-browse-var*
|
||||
>
|
||||
@ -524,18 +546,38 @@ from <netrw.vim> itself:
|
||||
g:netrw_winsize specify initial size of new o/v windows
|
||||
g:netrw_list_hide comma separated list of patterns for
|
||||
hiding files
|
||||
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
|
||||
<
|
||||
INTRODUCTION TO REMOTE 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.
|
||||
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.
|
||||
|
||||
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/
|
||||
|
||||
Netrw will modify the command in g:netrw_list_cmd to perform the directory
|
||||
|
||||
REFRESHING THE LISTING *netrw-c-l*
|
||||
|
||||
To refresh the directory listing, press ctrl-l (<c-l>) or hit the <cr>
|
||||
when atop the ./ directory entry in the listing.
|
||||
|
||||
|
||||
GOING UP *netrw--*
|
||||
|
||||
To go up a directory, press - or his the <cr> when atop the ../ directory
|
||||
entry in the listing.
|
||||
|
||||
Netrw will modify the command in *g:netrw_list_cmd* to perform the directory
|
||||
listing operation. By default the command is:
|
||||
|
||||
ssh HOSTNAME ls -FLa
|
||||
@ -545,58 +587,121 @@ 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*
|
||||
|
||||
Browsing is simple: move the cursor onto a file or directory of interest.
|
||||
Hitting the <cr> (the return key) will select the file or directory.
|
||||
Directories will themselves be listed, and files will be opened using the
|
||||
protocol given in the original read request.
|
||||
|
||||
*netrw-delete* *netrw-remove*
|
||||
|
||||
REMOVING FILES OR DIRECTORIES *netrw-delete* *netrw-remove* *netrw-D*
|
||||
|
||||
Deleting/removing files and directories involves moving the cursor to the
|
||||
file/directory to be deleted and pressing "D". Directories must be empty
|
||||
first before they can be successfully removed. If the directory is a softlink
|
||||
to a directory, then netrw will make two requests to remove the directory
|
||||
before succeeding. Netrw will ask for confirmation before doing the
|
||||
removal(s). You may select a range of lines with the "V" command (visual
|
||||
selection), and then pressing "D".
|
||||
file/directory to be deleted and pressing "D". Directories must be empty first
|
||||
before they can be successfully removed. If the directory is a softlink to a
|
||||
directory, then netrw will make two requests to remove the directory before
|
||||
succeeding. Netrw will ask for confirmation before doing the removal(s).
|
||||
You may select a range of lines with the "V" command (visual selection),
|
||||
and then pressing "D".
|
||||
|
||||
The g:netrw_rm_cmd, g:netrw_rmf_cmd, and g:netrw_rmdir_cmd variables are
|
||||
used to control the attempts to remove files and directories. The
|
||||
g:netrw_rm_cmd is used with files, and its default value is:
|
||||
*g:netrw_rm_cmd*
|
||||
The g:netrw_rm_cmd, g:netrw_rmf_cmd, and g:netrw_rmdir_cmd variables are used
|
||||
to control the attempts to remove files and directories. The g:netrw_rm_cmd
|
||||
is used with files, and its default value is:
|
||||
|
||||
g:netrw_rm_cmd: ssh HOSTNAME rm
|
||||
|
||||
The g:netrw_rmdir_cmd is used with directories. Its default value is:
|
||||
*g:netrw_rmdir_cmd*
|
||||
The g:netrw_rmdir_cmd variable is used to support the removal of directories.
|
||||
Its default value is:
|
||||
|
||||
g:netrw_rmdir_cmd: ssh HOSTNAME rmdir
|
||||
|
||||
*g:netrw_rmf_cmd*
|
||||
If removing a directory fails with g:netrw_rmdir_cmd, netrw then will attempt
|
||||
to remove it again using the g:netrw_rmf_cmd. Its default value is:
|
||||
to remove it again using the g:netrw_rmf_cmd variable. Its default value is:
|
||||
|
||||
g:netrw_rmf_cmd: ssh HOSTNAME rm -f
|
||||
|
||||
*netrw-x*
|
||||
|
||||
The Netrw executor applies a user-defined function to a file, based on its
|
||||
extension. Of course, the handler function must exist for it to be called.
|
||||
>
|
||||
Ex. mypgm.html x -> NetrwFileHandler_html("scp://user@host/some/path/mypgm.html")
|
||||
<
|
||||
See the <NetrwFileHandlers.vim>
|
||||
|
||||
*netrw-move* *netrw-rename*
|
||||
RENAMING FILES OR DIRECTORIES *netrw-move* *netrw-rename*
|
||||
|
||||
Renaming/moving files and directories involves moving the cursor to the
|
||||
file/directory to be moved (renamed) and pressing "R". You will then be
|
||||
queried for where you want the file/directory to be moved. You may select a
|
||||
range of lines with the "V" command (visual selection), and then pressing "R".
|
||||
|
||||
The g:netrw_rename_cmd is used to implement renaming. By default its
|
||||
The g:netrw_rename_cmd variable is used to implement renaming. By default its
|
||||
value is:
|
||||
|
||||
ssh HOSTNAME mv
|
||||
|
||||
*netrw-list-hack*
|
||||
|
||||
HIDING FILES OR DIRECTORIES *g:netrw_a* *g:netrw_list_hide*
|
||||
|
||||
The "a" map lets the browser ignore the g:netrw_list_hide variable. Normally
|
||||
the g:netrw_list_hide variable holds a comma separated list of patterns which
|
||||
will be hidden (removed) from the directory listing.
|
||||
|
||||
|
||||
EDIT FILE OR DIRECTORY HIDING *netrw-h*
|
||||
|
||||
The "h" map brings up a requestor allowing the user to change the
|
||||
file/directory hiding list.
|
||||
|
||||
|
||||
BROWSING WITH A HORIZONTALLY SPLIT WINDOW *netrw-o*
|
||||
|
||||
Normally one enters a file or directory using the <cr>. However, the "o"
|
||||
map allows one to open a new window to hold the new directory listing or
|
||||
file. A horizontal split is used. (also see |netrw-v|)
|
||||
|
||||
|
||||
SELECTING SORTING STYLE *netrw-s*
|
||||
|
||||
One may select the sorting style by name, time, or (file) size. The
|
||||
"s" map allows one to circulate among the three choices; the directory
|
||||
listing will automatically be refreshed to reflect the selected style.
|
||||
|
||||
|
||||
REVERSING SORTING ORDER *netrw-r*
|
||||
|
||||
One may toggle between normal and reverse sorting order by pressing the
|
||||
"r" key.
|
||||
|
||||
|
||||
BROWSING WITH A VERTICALLY SPLIT WINDOW *netrw-v*
|
||||
|
||||
Normally one enters a file or directory using the <cr>. However, the "v"
|
||||
map allows one to open a new window to hold the new directory listing or
|
||||
file. A vertical split is used. (also see |netrw-o|)
|
||||
|
||||
|
||||
CUSTOMIZING BROWSING WITH A USER FUNCTION *netrw-x*
|
||||
|
||||
One may "enter" a file with a special handler, thereby firing up a browser or
|
||||
other application, for example, on a file by hitting the "x" key. Presumably
|
||||
one could write handlers that would start OpenOffice programs (oowriter), etc,
|
||||
based on the file's extension coupled with the user's hitting the "x" key atop
|
||||
the file.
|
||||
|
||||
The Netrw executor applies a user-defined function to a file, based on its
|
||||
extension. Of course, the handler function must exist for it to be called!
|
||||
>
|
||||
Ex. mypgm.html x ->
|
||||
NetrwFileHandler_html("scp://user@host/some/path/mypgm.html")
|
||||
<
|
||||
See the <plugin/NetrwFileHandlers.vim> for an example of how to handle an html
|
||||
file with mozilla.
|
||||
|
||||
|
||||
IMPROVING DIRECTORY BROWSING *netrw-list-hack*
|
||||
|
||||
Especially with the remote directory browser, constantly entering the password
|
||||
is tedious.
|
||||
|
||||
For Linux/Unix systems, I suggest looking into
|
||||
|
||||
http://hacks.oreilly.com/pub/h/66
|
||||
|
||||
@ -1,4 +1,4 @@
|
||||
*quickref.txt* For Vim version 7.0aa. Last change: 2004 May 05
|
||||
*quickref.txt* For Vim version 7.0aa. Last change: 2004 Jul 02
|
||||
|
||||
|
||||
VIM REFERENCE MANUAL by Bram Moolenaar
|
||||
@ -630,6 +630,7 @@ Short explanation of each option: *option-list*
|
||||
|'commentstring'| |'cms'| template for comments; used for fold marker
|
||||
|'compatible'| |'cp'| behave Vi-compatible as much as possible
|
||||
|'complete'| |'cpt'| specify how Insert mode completion works
|
||||
|'completefunc'| |'cfu'| function to be used for Insert mode completion
|
||||
|'confirm'| |'cf'| ask what to do about unsaved/read-only files
|
||||
|'conskey'| |'consk'| get keys directly from console (MS-DOS only)
|
||||
|'copyindent'| |'ci'| make 'autoindent' use existing indent structure
|
||||
@ -779,6 +780,7 @@ Short explanation of each option: *option-list*
|
||||
|'printfont'| |'pfn'| name of the font to be used for :hardcopy
|
||||
|'printheader'| |'pheader'| format of the header used for :hardcopy
|
||||
|'printoptions'| |'popt'| controls the format of :hardcopy output
|
||||
|'quoteescape'| |'qe'| escape characters used in a string
|
||||
|'readonly'| |'ro'| disallow writing the buffer
|
||||
|'remap'| allow mappings to work recursively
|
||||
|'report'| threshold for reporting nr. of lines changed
|
||||
|
||||
@ -1,4 +1,4 @@
|
||||
*syntax.txt* For Vim version 7.0aa. Last change: 2004 Jun 16
|
||||
*syntax.txt* For Vim version 7.0aa. Last change: 2004 Jul 01
|
||||
|
||||
|
||||
VIM REFERENCE MANUAL by Bram Moolenaar
|
||||
@ -3495,6 +3495,8 @@ in their own color.
|
||||
:echo g:colors_name
|
||||
< Doesn't work recursively, thus you can't use
|
||||
":colorscheme" in a color scheme script.
|
||||
After the color scheme has been loaded the
|
||||
|ColorScheme| autocommand event is triggered.
|
||||
|
||||
:hi[ghlight] List all the current highlight groups that have
|
||||
attributes set.
|
||||
|
||||
@ -92,6 +92,7 @@ $VIMRUNTIME starting.txt /*$VIMRUNTIME*
|
||||
'cdpath' options.txt /*'cdpath'*
|
||||
'cedit' options.txt /*'cedit'*
|
||||
'cf' options.txt /*'cf'*
|
||||
'cfu' options.txt /*'cfu'*
|
||||
'ch' options.txt /*'ch'*
|
||||
'character' intro.txt /*'character'*
|
||||
'charconvert' options.txt /*'charconvert'*
|
||||
@ -116,6 +117,7 @@ $VIMRUNTIME starting.txt /*$VIMRUNTIME*
|
||||
'commentstring' options.txt /*'commentstring'*
|
||||
'compatible' options.txt /*'compatible'*
|
||||
'complete' options.txt /*'complete'*
|
||||
'completefunc' options.txt /*'completefunc'*
|
||||
'confirm' options.txt /*'confirm'*
|
||||
'consk' options.txt /*'consk'*
|
||||
'conskey' options.txt /*'conskey'*
|
||||
@ -623,7 +625,9 @@ $VIMRUNTIME starting.txt /*$VIMRUNTIME*
|
||||
'pt' options.txt /*'pt'*
|
||||
'pvh' options.txt /*'pvh'*
|
||||
'pvw' options.txt /*'pvw'*
|
||||
'qe' options.txt /*'qe'*
|
||||
'quote motion.txt /*'quote*
|
||||
'quoteescape'' options.txt /*'quoteescape''*
|
||||
'readonly' options.txt /*'readonly'*
|
||||
'redraw' vi_diff.txt /*'redraw'*
|
||||
'remap' options.txt /*'remap'*
|
||||
@ -2866,6 +2870,7 @@ Cmdline cmdline.txt /*Cmdline*
|
||||
Cmdline-mode cmdline.txt /*Cmdline-mode*
|
||||
CmdwinEnter autocmd.txt /*CmdwinEnter*
|
||||
CmdwinLeave autocmd.txt /*CmdwinLeave*
|
||||
ColorScheme autocmd.txt /*ColorScheme*
|
||||
Command-line cmdline.txt /*Command-line*
|
||||
Command-line-mode cmdline.txt /*Command-line-mode*
|
||||
Contents quickref.txt /*Contents*
|
||||
@ -3863,6 +3868,7 @@ _vimrc starting.txt /*_vimrc*
|
||||
`{ motion.txt /*`{*
|
||||
`} motion.txt /*`}*
|
||||
a insert.txt /*a*
|
||||
a' motion.txt /*a'*
|
||||
a( motion.txt /*a(*
|
||||
a) motion.txt /*a)*
|
||||
a4 options.txt /*a4*
|
||||
@ -3875,6 +3881,7 @@ aB motion.txt /*aB*
|
||||
aW motion.txt /*aW*
|
||||
a[ motion.txt /*a[*
|
||||
a] motion.txt /*a]*
|
||||
a` motion.txt /*a`*
|
||||
ab motion.txt /*ab*
|
||||
abandon editing.txt /*abandon*
|
||||
abbreviations map.txt /*abbreviations*
|
||||
@ -3920,6 +3927,7 @@ ap motion.txt /*ap*
|
||||
apache-syntax syntax.txt /*apache-syntax*
|
||||
apache.vim syntax.txt /*apache.vim*
|
||||
append() eval.txt /*append()*
|
||||
aquote motion.txt /*aquote*
|
||||
arabic.txt arabic.txt /*arabic.txt*
|
||||
arabicfonts arabic.txt /*arabicfonts*
|
||||
arabickeymap arabic.txt /*arabickeymap*
|
||||
@ -4185,6 +4193,7 @@ compl-current insert.txt /*compl-current*
|
||||
compl-define insert.txt /*compl-define*
|
||||
compl-dictionary insert.txt /*compl-dictionary*
|
||||
compl-filename insert.txt /*compl-filename*
|
||||
compl-function insert.txt /*compl-function*
|
||||
compl-generic insert.txt /*compl-generic*
|
||||
compl-keyword insert.txt /*compl-keyword*
|
||||
compl-tag insert.txt /*compl-tag*
|
||||
@ -4950,6 +4959,7 @@ htmlos-syntax syntax.txt /*htmlos-syntax*
|
||||
htmlos.vim syntax.txt /*htmlos.vim*
|
||||
http pi_netrw.txt /*http*
|
||||
i insert.txt /*i*
|
||||
i' motion.txt /*i'*
|
||||
i( motion.txt /*i(*
|
||||
i) motion.txt /*i)*
|
||||
i< motion.txt /*i<*
|
||||
@ -5032,9 +5042,11 @@ i_CTRL-X_CTRL-L insert.txt /*i_CTRL-X_CTRL-L*
|
||||
i_CTRL-X_CTRL-N insert.txt /*i_CTRL-X_CTRL-N*
|
||||
i_CTRL-X_CTRL-P insert.txt /*i_CTRL-X_CTRL-P*
|
||||
i_CTRL-X_CTRL-T insert.txt /*i_CTRL-X_CTRL-T*
|
||||
i_CTRL-X_CTRL-U insert.txt /*i_CTRL-X_CTRL-U*
|
||||
i_CTRL-X_CTRL-V insert.txt /*i_CTRL-X_CTRL-V*
|
||||
i_CTRL-X_CTRL-Y insert.txt /*i_CTRL-X_CTRL-Y*
|
||||
i_CTRL-X_CTRL-] insert.txt /*i_CTRL-X_CTRL-]*
|
||||
i_CTRL-X_index index.txt /*i_CTRL-X_index*
|
||||
i_CTRL-Y insert.txt /*i_CTRL-Y*
|
||||
i_CTRL-Z options.txt /*i_CTRL-Z*
|
||||
i_CTRL-[ insert.txt /*i_CTRL-[*
|
||||
@ -5049,6 +5061,7 @@ i_^_CTRL-D insert.txt /*i_^_CTRL-D*
|
||||
i_backspacing insert.txt /*i_backspacing*
|
||||
i_digraph digraph.txt /*i_digraph*
|
||||
i_esc intro.txt /*i_esc*
|
||||
i` motion.txt /*i`*
|
||||
ia64-syntax syntax.txt /*ia64-syntax*
|
||||
ia64.vim syntax.txt /*ia64.vim*
|
||||
ib motion.txt /*ib*
|
||||
@ -5122,6 +5135,7 @@ internet intro.txt /*internet*
|
||||
intro intro.txt /*intro*
|
||||
intro.txt intro.txt /*intro.txt*
|
||||
ip motion.txt /*ip*
|
||||
iquote motion.txt /*iquote*
|
||||
is motion.txt /*is*
|
||||
isdirectory() eval.txt /*isdirectory()*
|
||||
iw motion.txt /*iw*
|
||||
@ -5139,6 +5153,7 @@ jumplist motion.txt /*jumplist*
|
||||
jumpto-diffs diff.txt /*jumpto-diffs*
|
||||
k motion.txt /*k*
|
||||
kcc uganda.txt /*kcc*
|
||||
kde gui_x11.txt /*kde*
|
||||
kde-toolbar gui_x11.txt /*kde-toolbar*
|
||||
key-codes intro.txt /*key-codes*
|
||||
key-codes-changed version4.txt /*key-codes-changed*
|
||||
@ -5437,6 +5452,7 @@ new-highlighting version5.txt /*new-highlighting*
|
||||
new-indent-flex version6.txt /*new-indent-flex*
|
||||
new-items-6 version6.txt /*new-items-6*
|
||||
new-items-7 version7.txt /*new-items-7*
|
||||
new-kde version7.txt /*new-kde*
|
||||
new-line-continuation version5.txt /*new-line-continuation*
|
||||
new-multi-byte version5.txt /*new-multi-byte*
|
||||
new-multi-lang version6.txt /*new-multi-lang*
|
||||
@ -6334,6 +6350,7 @@ v_V visual.txt /*v_V*
|
||||
v_X change.txt /*v_X*
|
||||
v_Y change.txt /*v_Y*
|
||||
v_a motion.txt /*v_a*
|
||||
v_a' motion.txt /*v_a'*
|
||||
v_a( motion.txt /*v_a(*
|
||||
v_a) motion.txt /*v_a)*
|
||||
v_a< motion.txt /*v_a<*
|
||||
@ -6342,8 +6359,10 @@ v_aB motion.txt /*v_aB*
|
||||
v_aW motion.txt /*v_aW*
|
||||
v_a[ motion.txt /*v_a[*
|
||||
v_a] motion.txt /*v_a]*
|
||||
v_a` motion.txt /*v_a`*
|
||||
v_ab motion.txt /*v_ab*
|
||||
v_ap motion.txt /*v_ap*
|
||||
v_aquote motion.txt /*v_aquote*
|
||||
v_as motion.txt /*v_as*
|
||||
v_aw motion.txt /*v_aw*
|
||||
v_a{ motion.txt /*v_a{*
|
||||
@ -6374,6 +6393,7 @@ v_gq change.txt /*v_gq*
|
||||
v_gv visual.txt /*v_gv*
|
||||
v_gw change.txt /*v_gw*
|
||||
v_i motion.txt /*v_i*
|
||||
v_i' motion.txt /*v_i'*
|
||||
v_i( motion.txt /*v_i(*
|
||||
v_i) motion.txt /*v_i)*
|
||||
v_i< motion.txt /*v_i<*
|
||||
@ -6382,8 +6402,10 @@ v_iB motion.txt /*v_iB*
|
||||
v_iW motion.txt /*v_iW*
|
||||
v_i[ motion.txt /*v_i[*
|
||||
v_i] motion.txt /*v_i]*
|
||||
v_i` motion.txt /*v_i`*
|
||||
v_ib motion.txt /*v_ib*
|
||||
v_ip motion.txt /*v_ip*
|
||||
v_iquote motion.txt /*v_iquote*
|
||||
v_is motion.txt /*v_is*
|
||||
v_iw motion.txt /*v_iw*
|
||||
v_i{ motion.txt /*v_i{*
|
||||
|
||||
@ -1,4 +1,4 @@
|
||||
*todo.txt* For Vim version 7.0aa. Last change: 2004 Jun 30
|
||||
*todo.txt* For Vim version 7.0aa. Last change: 2004 Jul 02
|
||||
|
||||
|
||||
VIM REFERENCE MANUAL by Bram Moolenaar
|
||||
@ -32,23 +32,6 @@ be worked on, but only if you sponsor Vim development. See |sponsor|.
|
||||
|
||||
For version 7.0:
|
||||
- Include many PATCHES:
|
||||
- Include the kvim patch. http://freenux.org/vim/ (Mickael Marchand)
|
||||
Do not add Qtopia yet, it doesn't work very well.
|
||||
update from Mickael 2004 Jun 20.
|
||||
8 Unix: When libcall() fails there is no clear error message. Johannes
|
||||
Zellner has a patch for this.
|
||||
updated patch 2004 June 16.
|
||||
7 Add the MzScheme interface. Patch on http://iamphet.nm.ru/scheme/
|
||||
(Sergey Khorev)
|
||||
Alt URL: http://cyber.miem.edu.ru/~iamphet/scheme/mzvim-0.560.tar.gz
|
||||
8 Add patch from Muraoka Taro (Mar 16) to support input method on Mac?
|
||||
New patch 2004 Jun 16
|
||||
8 Add expression-expansion, so that the user can define his own kind of
|
||||
completion. Patch from Taro Muraoka, 2003 Aug 26.
|
||||
New patch 2004 Jun 16
|
||||
8 Text objects: Add "a'" and 'a"': a single or double quoted string.
|
||||
(Tim Chase) Patch from Taro Muraoka (2003 Dec 16).
|
||||
New patch 2004 Jun 16
|
||||
7 Add "nbsp" in 'listchars'? Patch from David Blanchet, 2003 Jul 28.
|
||||
again 2004 Jun 16
|
||||
8 Add ":n" to fnamemodify(): normalize path, remove "../" when possible.
|
||||
@ -173,7 +156,6 @@ For version 7.0:
|
||||
Matsumoto) How to get the messages into the
|
||||
.po files?
|
||||
Update 2004 Jun 17
|
||||
---
|
||||
realname() Get user name (first, last, full)
|
||||
user_fullname() patch by Nikolai Weibull, Nov
|
||||
3 2002)
|
||||
@ -189,6 +171,7 @@ For version 7.0:
|
||||
search() Add optional offset argument.
|
||||
Add 'n' flag. (patch from Nikolai Weibull
|
||||
2003 Jan 13)
|
||||
---
|
||||
confirm() add "flags" argument, with 'v' for vertical
|
||||
layout and 'c' for console dialog. (Haegg)
|
||||
Flemming Madsen has a patch for the 'c' flag
|
||||
@ -236,6 +219,8 @@ For version 7.0:
|
||||
incomplete patch Mar 18)
|
||||
|
||||
|
||||
- In the kvim/KDE source files fix the formatting.
|
||||
- KDE version is called "kvim". Make it "gvim", like the others?
|
||||
- Change ga_room into ga_maxlen, so that it doesn't need to be
|
||||
incremented/decremented each time.
|
||||
- For string variables, use length instead of NUL termination.
|
||||
@ -302,7 +287,12 @@ For version 7.0:
|
||||
file. Can be used to update statusline oslt.
|
||||
- Displaying size of Visual area: use 24-33 column display.
|
||||
- Mac: Unicode input and display (Eckehard Berns, June 27)
|
||||
|
||||
8 Add patch from Muraoka Taro (Mar 16) to support input method on Mac?
|
||||
New patch 2004 Jun 16
|
||||
7 Add the MzScheme interface?
|
||||
NO: it changes too much of the code, while hardly anybody will use it.
|
||||
Patch on http://iamphet.nm.ru/scheme/ (Sergey Khorev)
|
||||
Alt URL: http://cyber.miem.edu.ru/~iamphet/scheme/mzvim-0.560.tar.gz
|
||||
|
||||
Vi incompatibility:
|
||||
8 With undo/redo only marks in the changed lines should be changed. Other
|
||||
@ -393,6 +383,10 @@ GTK+ GUI known bugs:
|
||||
It starts working after GTK gvim loses the selection and gains it again.
|
||||
7 DND doesn't work with KDE (also with GTK 1).
|
||||
|
||||
KDE GUI known bugs:
|
||||
- The default font is ugly. bold text isn't displayed correctly.
|
||||
- Error messages when starting up. The "tip of the day" box is empty.
|
||||
- Encoding of menu items needs to be converted. (Yasuhiro Matsumoto)
|
||||
|
||||
Win32 GUI known bugs:
|
||||
8 On Windows 98 the unicows library is needed to support functions with UCS2
|
||||
|
||||
@ -1,4 +1,4 @@
|
||||
*version7.txt* For Vim version 7.0aa. Last change: 2004 Jun 30
|
||||
*version7.txt* For Vim version 7.0aa. Last change: 2004 Jul 02
|
||||
|
||||
|
||||
VIM REFERENCE MANUAL by Bram Moolenaar
|
||||
@ -76,9 +76,16 @@ Various new items *new-items-7*
|
||||
|
||||
Normal mode commands: ~
|
||||
|
||||
a", a' and a` New text objects to select quoted strings. |a'|
|
||||
i", i' and i' (Taro Muraoka)
|
||||
|
||||
Options: ~
|
||||
|
||||
'completefunc' The name of a function used for user-specified Insert
|
||||
mode completion. CTRL-X CTRL-U can be used in Insert
|
||||
mode to do any kind of completion. (Taro Muraoka)
|
||||
'quoteescape' Characters used to escape quotes inside a string.
|
||||
Used for the a", a' and a` text objects. |a'|
|
||||
|
||||
Ex commands: ~
|
||||
|
||||
@ -94,8 +101,13 @@ InsertEnter starting Insert or Replace mode
|
||||
InsertChange going from Insert to Replace mode or back
|
||||
InsertLeave leaving Insert or Replace mode
|
||||
|
||||
ColorScheme after loading a color scheme
|
||||
|
||||
|
||||
New Syntax/Indent/FTplugin files: ~
|
||||
|
||||
MuPAD source syntax, indent and ftplugin. (Dave Silvia)
|
||||
|
||||
New Syntax files: ~
|
||||
|
||||
Others: ~
|
||||
|
||||
@ -118,6 +130,9 @@ breakpoint at the cursor.
|
||||
The tutor was updated to make it simpler to use and added text to explain a
|
||||
few more important commands. Used ideas from Gabriel Zachmann.
|
||||
|
||||
Unix: When libcall() fails obtain an error message with dlerror() and display
|
||||
it. (Johannes Zellner)
|
||||
|
||||
==============================================================================
|
||||
COMPILE TIME CHANGES *compile-changes-7*
|
||||
|
||||
|
||||
Reference in New Issue
Block a user