updated for version 7.0007
This commit is contained in:
@ -17,20 +17,6 @@
|
||||
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|
|
||||
@ -514,7 +500,26 @@ from <netrw.vim> itself:
|
||||
|
||||
==============================================================================
|
||||
7. Remote 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>......Removing Files or Directories...........|netrw-delete|
|
||||
D..........Removing Files or Directories...........|netrw-D|
|
||||
\H.........Edit File/Directory Hiding List.........|netrw-H|
|
||||
\M.........Make A New Directory....................|netrw-M|
|
||||
R..........Renaming Files or Directories...........|netrw-R|
|
||||
-..........Going Up................................|netrw--|
|
||||
a..........Hiding Files or Directories.............|netrw-a|
|
||||
i..........Long Listing............................|netrw-i|
|
||||
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|
|
||||
*netrw-browse-cmds*
|
||||
>
|
||||
Quick Reference Commands Table
|
||||
------- -----------
|
||||
Command Explanation
|
||||
------- -----------
|
||||
? Causes Netrw to issue help
|
||||
@ -526,6 +531,7 @@ from <netrw.vim> itself:
|
||||
- Makes Netrw go up one directory
|
||||
a Show all of a directory (temporarily ignore g:netrw_list_hide)
|
||||
h Edit file hiding list
|
||||
i Toggles between long and short listing
|
||||
o Enter the file/directory under the cursor in a new browser
|
||||
window. A horizontal split is used.
|
||||
r Reverse sorting order
|
||||
@ -540,16 +546,22 @@ from <netrw.vim> itself:
|
||||
Var Explanation
|
||||
--- -----------
|
||||
g:netrw_list_cmd supports listing
|
||||
g:netrw_rm_cmd supports removing files
|
||||
g:netrw_rmf_cmd supports removing softlinks to directories
|
||||
g:netrw_rmdir_cmd supports removing directories
|
||||
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_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_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
|
||||
<
|
||||
INTRODUCTION TO REMOTE DIRECTORY BROWSING
|
||||
|
||||
@ -588,15 +600,33 @@ preferred. The NetList function which implements remote directory
|
||||
browsing expects that directories will be flagged by a trailing slash.
|
||||
|
||||
|
||||
BROWSING *netrw-cr*
|
||||
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.
|
||||
|
||||
LONG VS SHORT LISTING *netrw-i*
|
||||
|
||||
REMOVING FILES OR DIRECTORIES *netrw-delete* *netrw-remove* *netrw-D*
|
||||
The short listing format gives just the files' and directories' names.
|
||||
The long listing is either based on the "ls" command via ssh for remote
|
||||
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*
|
||||
|
||||
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
|
||||
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
|
||||
directory. Attempts to make a local directory that already exists (as either
|
||||
a file or a directory) will be detected, reported on, and ignored.
|
||||
|
||||
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
|
||||
@ -626,7 +656,7 @@ to remove it again using the g:netrw_rmf_cmd variable. Its default value is:
|
||||
g:netrw_rmf_cmd: ssh HOSTNAME rm -f
|
||||
|
||||
|
||||
RENAMING FILES OR DIRECTORIES *netrw-move* *netrw-rename*
|
||||
RENAMING FILES OR DIRECTORIES *netrw-move* *netrw-rename* *netrw-R*
|
||||
|
||||
Renaming/moving files and directories involves moving the cursor to the
|
||||
file/directory to be moved (renamed) and pressing "R". You will then be
|
||||
@ -643,13 +673,18 @@ 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.
|
||||
will be hidden (removed) from the directory listing. Mnemonically, the
|
||||
"a" stands for show All.
|
||||
|
||||
|
||||
EDIT FILE OR DIRECTORY HIDING *netrw-h*
|
||||
EDIT FILE OR DIRECTORY HIDING LIST *netrw-H*
|
||||
|
||||
The "h" map brings up a requestor allowing the user to change the
|
||||
file/directory hiding list.
|
||||
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
|
||||
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).
|
||||
|
||||
|
||||
BROWSING WITH A HORIZONTALLY SPLIT WINDOW *netrw-o*
|
||||
|
||||
Reference in New Issue
Block a user