updated for version 7.0125

This commit is contained in:
Bram Moolenaar
2005-08-08 22:00:59 +00:00
parent 648120b750
commit f6cf987574
2 changed files with 85 additions and 40 deletions

View File

@ -1,4 +1,4 @@
*pi_netrw.txt* For Vim version 7.0. Last change: Aug 04, 2005
*pi_netrw.txt* For Vim version 7.0. Last change: Aug 08, 2005
VIM REFERENCE MANUAL by Charles E. Campbell, Jr.
@ -171,7 +171,7 @@ in your <.vimrc> file: >
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:
@ -741,8 +741,9 @@ trailing slash and it will be interpreted as a request to list a directory:
If you'd like to avoid entering the password in for directory listings, scp,
ssh interaction, etc, see |netrw-list-hack|.
DIRECTORY EXPLORING COMMANDS *netrw-explore*
*netrw-explore* *netrw-pexplore*
*netrw-hexplore* *netrw-sexplore*
DIRECTORY EXPLORING COMMANDS *netrw-nexplore* *netrw-vexplore*
:Explore[!] [dir]... Explore directory of current file
:Sexplore[!] [dir]... Split & Explore directory of current file
@ -752,38 +753,51 @@ DIRECTORY EXPLORING COMMANDS *netrw-explore*
:Pexplore............. used with **/patterns; go to previous matching file
The Explore command will open the local-directory browser on the current
file's directory (or on directory [dir] if specified). The window
will be split only if the file has been modified, otherwise the
browsing window will take over that window. Normally the splitting is
taken horizontally; the optional ! will use vertical splitting.
file's directory (or on directory [dir] if specified). The window will be
split only if the file has been modified, otherwise the browsing window will
take over that window. Normally the splitting is taken horizontally; the
optional ! will use vertical splitting.
Sexplore will always split the window before invoking the local-directory
browser. As with Explore, the splitting is normally done horizontally,
but with the optional ! the splitting will be done vertically.
browser. As with Explore, the splitting is normally done horizontally, but
with the optional ! the splitting will be done vertically.
Hexplore does an Explore with |belowright| horizontal splitting; the
optional ! does the Explore with |aboveleft| horizontal splitting.
Vexplore does an Explore with |leftabove| vertical splitting; the optiona
! does an Explore with |topleft| vertical splitting.
Vexplore does an Explore with |leftabove| vertical splitting; the
optional "!" does an Explore with |topleft| vertical splitting.
(Following needs v7.0 or later)
When Explore, Sexplore, Hexplore, or Vexplore are used with
**/filename-patterns, netrw will attempt to find a (sub)directory which
matches the filename pattern. The Nexplore and Pexplore commands enable
one to proceed to the next/previous matching file, respectively. If your
console or gui produce recognizable shift-up or shift-down sequences, then
(Following needs v7.0 or later) *netrw-starstar*
When Explore, Sexplore, Hexplore, or Vexplore are used like
>
:Explore **/filename_pattern
<
netrw will attempt to find a (sub)directory which matches the filename
pattern. Internally, it produces a list of files which match the pattern
and their paths; to that extent it resembles the Unix operation:
>
find $(pwd) -name "$1" -exec "echo" "{}" ";" 2> /dev/null
<
The directory display is updated to show the subdirectory containing a
matching file. One may then proceed to the next (or previous) matching files'
directories by using Nexplore or Pexplore, respectively. If your console or
gui produces recognizable shift-up or shift-down sequences, then you'll likely
find the following mappings convenient:
<s-down> == Nexplore, and
<s-up> == Pexplore.
As an example, consider >
As an example, consider
>
:Explore **/*.c
:Nexplore
:Nexplore
:Pexplore
<
The status line will show, on the right hand side of the status line, a
message like "Match 3 of 20".
REFRESHING THE LISTING *netrw-ctrl-l*
@ -1066,8 +1080,8 @@ the associated security issues.
<.vimrc> file:
let g:netrw_win95ftp= 1
P2. I use windows, and my network browsing with ftp doesn't sort by
time or size
@ -1113,7 +1127,7 @@ the associated security issues.
How do I do that?
let g:netrw_keepdir= 0
==============================================================================
9. Debugging *netrw-debug*
@ -1132,7 +1146,7 @@ which is loaded automatically at startup (assuming :set nocp).
http://vim.sourceforge.net/scripts/script.php?script_id=120
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:
@ -1165,6 +1179,8 @@ which is loaded automatically at startup (assuming :set nocp).
==============================================================================
10. History *netrw-history*
v59: * bugfix -- another keepalt work-around installed (for vim6.3)
* "Match # of #" for Explore **/pattern matches
v58: * Explore and relatives can now handle **/somefilepattern (v7)
* Nexplore and Pexplore introduced (v7). shift-down and shift-up
cursor keys will invoke Nexplore and Pexplore, respectively.