summaryrefslogtreecommitdiffstats
path: root/runtime/doc/pi_netrw.txt
diff options
context:
space:
mode:
authorBram Moolenaar <Bram@vim.org>2012-04-05 17:33:26 +0200
committerBram Moolenaar <Bram@vim.org>2012-04-05 17:33:26 +0200
commit5b435d671e5287975398316b8aa8000c96e6ec92 (patch)
tree5f1797bf37028f5397eb406edff9168cbabfe97e /runtime/doc/pi_netrw.txt
parent3675fa09a753bdf0b5eaac209ed8d6739a7e95d4 (diff)
Updated runtime files.
Diffstat (limited to 'runtime/doc/pi_netrw.txt')
-rw-r--r--runtime/doc/pi_netrw.txt1061
1 files changed, 146 insertions, 915 deletions
diff --git a/runtime/doc/pi_netrw.txt b/runtime/doc/pi_netrw.txt
index 1d4a09f3dc..142f08f16f 100644
--- a/runtime/doc/pi_netrw.txt
+++ b/runtime/doc/pi_netrw.txt
@@ -1,4 +1,4 @@
-*pi_netrw.txt* For Vim version 7.3. Last change: 2012 Jan 26
+*pi_netrw.txt* For Vim version 7.3. Last change: 2012 Apr 05
-----------------------------------------------------
NETRW REFERENCE MANUAL by Charles E. Campbell, Jr.
@@ -6,17 +6,16 @@
Author: Charles E. Campbell, Jr. <NdrOchip@ScampbellPfamily.AbizM>
(remove NOSPAM from Campbell's email first)
-Copyright: Copyright (C) 1999-2011 Charles E Campbell, Jr *netrw-copyright*
- Permission is hereby granted to use and distribute this code, with
- or without modifications, provided that this copyright notice is
- copied with it. Like anything else that's free, netrw.vim,
- netrwPlugin.vim, netrwFileHandlers.vim, netrwSettings.vim,
- syntax/netrw.vim, and pi_netrw.txt are provided *as is* and comes
- with no warranty of any kind, either expressed or implied. No
- guarantees of merchantability. No guarantees of suitability for
- any purpose. By using this plugin, you agree that in no event will
- the copyright holder be liable for any damages resulting from the
- use of this software.
+Copyright: Copyright (C) 1999-2012 Charles E Campbell, Jr *netrw-copyright*
+ The VIM LICENSE applies to the files in this package, including
+ netrw.vim, pi_netrw.txt, netrwFileHandlers.vim, netrwSettings.vim, and
+ syntax/netrw.vim. Like anything else that's free, netrw.vim and its
+ associated files are provided *as is* and comes with no warranty of
+ any kind, either expressed or implied. No guarantees of
+ merchantability. No guarantees of suitability for any purpose. By
+ using this plugin, you agree that in no event will the copyright
+ holder be liable for any damages resulting from the use of this
+ software. Use at your own risk!
*dav* *ftp* *netrw-file* *rcp* *scp*
@@ -43,7 +42,7 @@ Copyright: Copyright (C) 1999-2011 Charles E Campbell, Jr *netrw-copyright*
5. Activation...........................................|netrw-activate|
6. Transparent Remote File Editing......................|netrw-transparent|
7. Ex Commands..........................................|netrw-ex|
-8. Variables and Options................................|netrw-settings|
+8. Variables and Options................................|netrw-variables|
9. Browsing.............................................|netrw-browse|
Introduction To Browsing...........................|netrw-intro-browse|
Quick Reference: Maps..............................|netrw-browse-maps|
@@ -141,6 +140,16 @@ and has lines resembling >
...
default login USERID password "PASSWORD"
<
+Windows' ftp doesn't support .netrc; however, one may have in one's .vimrc: >
+
+ let g:netrw_ftp_cmd= 'c:\Windows\System32\ftp -s:C:\Users\Myself\MACHINE'
+<
+Netrw will substitute the host's machine name for MACHINE from the url it is
+attempting to open, and so one may specify >
+ userid
+ password
+for each site in a separate file in c:\Users\Myself\.
+
Now about browsing -- when you just want to look around before editing a
file. For browsing on your current host, just "edit" a directory: >
@@ -309,7 +318,12 @@ CHANGING USERID AND PASSWORD *netrw-chgup* *netrw-userpass* {{{2
:call NetUserPass("uid","password") -- sets global uid and password
NETRW VARIABLES AND SETTINGS *netrw-variables* {{{2
-(also see: |netrw-browser-var| |netrw-protocol| |netrw-settings|)
+ (Also see:
+ |netrw-browser-var| : netrw browser option variables
+ |netrw-protocol| : file transfer protocol option variables
+ |netrw-settings| : additional file transfer options
+ |netrw-browser-options| : these options affect browsing directories
+ )
Netrw provides a lot of variables which allow you to customize netrw to your
preferences. One way to look at them is via the command :NetrwSettings (see
@@ -318,96 +332,102 @@ settings are described below, in |netrw-browser-options|, and in
|netrw-externapp|:
*b:netrw_lastfile* last file Network-read/written retained on a
- per-buffer basis (supports plain :Nw )
+ per-buffer basis (supports plain :Nw )
*g:netrw_bufsettings* the settings that netrw buffers have
- (default) noma nomod nonu nowrap ro nobl
+ (default) noma nomod nonu nowrap ro nobl
*g:netrw_chgwin* specifies a window number where file edits will take
- place. (also see |netrw-C|)
- (default) not defined
+ place. (also see |netrw-C|)
+ (default) not defined
*g:Netrw_funcref* specifies a function (or functions) to be called when
- netrw edits a file. The file is first edited, and
- then the function reference (|Funcref|) is called.
- This variable may also hold a |List| of Funcrefs.
- (default) not defined. (the capital in g:Netrw...
- is required by its holding a function reference)
+ netrw edits a file. The file is first edited, and
+ then the function reference (|Funcref|) is called.
+ This variable may also hold a |List| of Funcrefs.
+ (default) not defined. (the capital in g:Netrw...
+ is required by its holding a function reference)
>
Example: place in .vimrc; affects all file opening
fun! MyFuncRef()
endfun
let g:Netrw_funcref= function("MyFuncRef")
<
- *g:netrw_ftp* if it doesn't exist, use default ftp
- =0 use default ftp (uid password)
- =1 use alternate ftp method (user uid password)
- If you're having trouble with ftp, try changing the
- value of this variable to see if the alternate ftp
- method works for your setup.
+ *g:netrw_ftp* if it doesn't exist, use default ftp
+ =0 use default ftp (uid password)
+ =1 use alternate ftp method (user uid password)
+ If you're having trouble with ftp, try changing the
+ value of this variable to see if the alternate ftp
+ method works for your setup.
+
+ *g:netrw_ftp_options* Chosen by default, these options are supposed to turn
+ interactive prompting off and to restrain ftp from
+ attempting auto-login upon initial connection.
+ However, it appears that not all ftp implementations
+ support this (ex. ncftp).
+ ="-i -n"
*g:netrw_ftpextracmd* default: doesn't exist
- If this variable exists, then any string it contains
- will be placed into the commands set to your ftp
- client. As an example:
- ="passive"
+ If this variable exists, then any string it contains
+ will be placed into the commands set to your ftp
+ client. As an example:
+ ="passive"
*g:netrw_ftpmode* ="binary" (default)
- ="ascii"
+ ="ascii"
*g:netrw_ignorenetrc* =0 (default for linux, cygwin)
- =1 If you have a <.netrc> file but it doesn't work and
- you want it ignored, then set this variable as
- shown. (default for Windows + cmd.exe)
+ =1 If you have a <.netrc> file but it doesn't work and
+ you want it ignored, then set this variable as
+ shown. (default for Windows + cmd.exe)
*g:netrw_menu* =0 disable netrw's menu
- =1 (default) netrw's menu enabled
+ =1 (default) netrw's menu enabled
*g:netrw_nogx* if this variable exists, then the "gx" map will not
- be available (see |netrw-gx|)
+ be available (see |netrw-gx|)
*g:netrw_uid* (ftp) user-id, retained on a per-vim-session basis
- *s:netrw_passwd* (ftp) password, retained on a per-vim-session basis
+ *s:netrw_passwd* (ftp) password, retained on a per-vim-session basis
*g:netrw_preview* =0 (default) preview window shown in a horizontally
- split window
- =1 preview window shown in a vertically split window.
- Also affects the "previous window" (see |netrw-P|) in
- the same way.
+ split window
+ =1 preview window shown in a vertically split window.
+ Also affects the "previous window" (see |netrw-P|) in
+ the same way.
- *g:netrw_scpport* = "-P" : option to use to set port for scp
- *g:netrw_sshport* = "-p" : option to use to set port for ssh
+ *g:netrw_scpport* = "-P" : option to use to set port for scp
+ *g:netrw_sshport* = "-p" : option to use to set port for ssh
- *g:netrw_sepchr* =\0xff
- =\0x01 for enc == euc-jp (and perhaps it should be for
- others, too, please let me
- know)
- Separates priority codes from filenames internally.
- See |netrw-p12|.
+ *g:netrw_sepchr* =\0xff
+ =\0x01 for enc == euc-jp (and perhaps it should be for
+ others, too, please let me know)
+ Separates priority codes from filenames internally.
+ See |netrw-p12|.
*g:netrw_silent* =0 : transfers done normally
- =1 : transfers done silently
+ =1 : transfers done silently
*g:netrw_use_errorwindow* =1 : messages from netrw will use a separate one
- line window. This window provides reliable
+ line window. This window provides reliable
delivery of messages. (default)
=0 : messages from netrw will use echoerr ;
messages don't always seem to show up this
way, but one doesn't have to quit the window.
*g:netrw_win95ftp* =1 if using Win95, will remove four trailing blank
- lines that o/s's ftp "provides" on transfers
- =0 force normal ftp behavior (no trailing line removal)
+ lines that o/s's ftp "provides" on transfers
+ =0 force normal ftp behavior (no trailing line removal)
- *g:netrw_cygwin* =1 assume scp under windows is from cygwin. Also
- permits network browsing to use ls with time and
- size sorting (default if windows)
- =0 assume Windows' scp accepts windows-style paths
- Network browsing uses dir instead of ls
- This option is ignored if you're using unix
+ *g:netrw_cygwin* =1 assume scp under windows is from cygwin. Also
+ permits network browsing to use ls with time and
+ size sorting (default if windows)
+ =0 assume Windows' scp accepts windows-style paths
+ Network browsing uses dir instead of ls
+ This option is ignored if you're using unix
*g:netrw_use_nt_rcp* =0 don't use the rcp of WinNT, Win2000 and WinXP
- =1 use WinNT's rcp in binary mode (default)
+ =1 use WinNT's rcp in binary mode (default)
PATHS *netrw-path* {{{2
@@ -512,12 +532,13 @@ which contains ftp commands which will be automatically run whenever ftp
starts. You may use this feature to enter a user and password for one site: >
userid
password
+< *netrw-windows-netrc* *netrw-windows-s*
If |g:netrw_ftp_cmd| contains -s:[path/]MACHINE, then (on Windows machines only)
-netrw will substitute the current machine name requested for ftp connection
+netrw will substitute the current machine name requested for ftp connections
for MACHINE. Hence one can have multiple machine.ftp files containing login
and password for ftp. Example: >
- g:netrw_ftp_cmd= 'c:\Windows\System32\ftp -s:C:\Users\Myself\MACHINE'
+ let g:netrw_ftp_cmd= 'c:\Windows\System32\ftp -s:C:\Users\Myself\MACHINE'
vim ftp://myhost.somewhere.net/
will use a file >
C:\Users\Myself\myhost.ftp
@@ -616,6 +637,9 @@ password.
readable for others. Don't forget that the system administrator can
still read the file! Ie. for Linux/Unix: chmod 600 .netrc
+Even though Windows' ftp clients typically do not support .netrc, netrw has
+a work-around: see |netrw-windows-s|.
+
PASSWORD *netrw-passwd*
@@ -720,11 +744,10 @@ below, a {netfile} is an url to a remote file.
==============================================================================
-8. Variables and Options *netrw-settings* {{{1
+8. Variables and Options *netrw-var* *netrw-settings* {{{1
(also see: |netrw-options| |netrw-variables| |netrw-protocol|
- |netrw-browser-settings| |netrw-browser-options|
- |netrw-browser-var| )
+ |netrw-browser-settings| |netrw-browser-options| )
The <netrw.vim> script provides several variables which act as options to
affect <netrw.vim>'s file transfer behavior. These variables typically may be
@@ -1222,6 +1245,18 @@ As an example, by putting the following line in your .vimrc, >
let g:netrw_liststyle= 4
the tree style will become your default listing style.
+One typical way to use the netrw tree display is to: >
+
+ vim .
+ (use i until a tree display shows)
+ navigate to a file
+ v (edit as desired in vertically split window)
+ ctrl-w h (to return to the netrw listing)
+ P (edit newly selected file in the previous window)
+ ctrl-w h (to return to the netrw listing)
+ P (edit newly selected file in the previous window)
+ ...etc...
+<
Associated setting variables: |g:netrw_liststyle| |g:netrw_maxfilenamelen|
|g:netrw_timefmt| |g:netrw_list_cmd|
@@ -1395,7 +1430,7 @@ to remove it again using the g:netrw_rmf_cmd variable. Its default value is:
g:netrw_rmf_cmd: ssh HOSTNAME rm -f
Related topics: |netrw-d|
-Associated setting variable: |g:netrw_local_rmdir| |g:netrw_rm_cmd|
+Associated setting variable: |g:netrw_localrmdir| |g:netrw_rm_cmd|
|g:netrw_rmdir_cmd| |g:netrw_ssh_cmd|
@@ -1727,13 +1762,13 @@ MAKING A NEW DIRECTORY *netrw-d* {{{2
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
+global variable g:netrw_localmkdir). 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.
Related topics: |netrw-D|
-Associated setting variables: |g:netrw_local_mkdir| |g:netrw_mkdir_cmd|
+Associated setting variables: |g:netrw_localmkdir| |g:netrw_mkdir_cmd|
|g:netrw_remote_mkdir|
@@ -2058,6 +2093,12 @@ your browsing preferences. (see also: |netrw-settings|)
history.
(related: |netrw-qb| |netrw-u| |netrw-U|)
+ *g:netrw_errorlvl* =0: error levels greater than or equal to
+ this are permitted to be displayed
+ 0: notes
+ 1: warnings
+ 2: errors
+
*g:netrw_fastbrowse* =0: slow speed directory browsing;
never re-uses directory listings,
always obtains directory listings.
@@ -2116,7 +2157,7 @@ your browsing preferences. (see also: |netrw-settings|)
unix or g:netrw_cygwin set: : "ls -tlF"
otherwise "dir"
- *g:netrw_glob_escape* ='[]*?`{~$' (unix)
+ *g:netrw_glob_escape* ='[]*?`{~$' (unix)
='[]*?`{$' (windows
These characters in directory names are
escaped before applying glob()
@@ -2162,10 +2203,10 @@ your browsing preferences. (see also: |netrw-settings|)
Moves marked files (|netrw-mf|) to target
directory (|netrw-mt|, |netrw-mm|)
- *g:netrw_local_mkdir* command for making a local directory
+ *g:netrw_localmkdir* command for making a local directory
default: "mkdir"
- *g:netrw_local_rmdir* remove directory command (rmdir)
+ *g:netrw_localrmdir* remove directory command (rmdir)
default: "rmdir"
*g:netrw_maxfilenamelen* =32 by default, selected so as to make long
@@ -2246,7 +2287,7 @@ your browsing preferences. (see also: |netrw-settings|)
\.info$,\.swp$,\.obj$'
*g:netrw_special_syntax* If true, then certain files will be shown
- in special syntax in the browser:
+ using special syntax in the browser:
netrwBak : *.bak
netrwCompress: *.gz *.bz2 *.Z *.zip
@@ -2354,7 +2395,7 @@ settings. You may change any of their values; when you save the file, the
settings therein will be used. One may also press "?" on any of the lines for
help on what each of the variables do.
-(also see: |netrw-browser-var| |netrw-protocol| |netrw-settings| |netrw-variables|)
+(also see: |netrw-browser-var| |netrw-protocol| |netrw-variables|)
==============================================================================
@@ -2414,8 +2455,8 @@ These will:
1. Make vertical splitting the default for previewing files
2. Make the default listing style "tree"
3. When a vertical preview window is opened, the directory listing
- will use only 30 columns; the rest of the window is used for the
- preview window.
+ will use only 30% of the columns available; the rest of the window
+ is used for the preview window.
PREVIOUS WINDOW *netrw-P* *netrw-prvwin* {{{2
@@ -2841,6 +2882,28 @@ which is loaded automatically at startup (assuming :set nocp).
==============================================================================
12. History *netrw-history* {{{1
+ v145: Apr 05, 2012 * moved some command from a g:netrw_local_...
+ format to g:netwr_local... format
+ * included some NOTE level messages about
+ commands that aren't executable
+ * |g:netrw_errorlvl| (default: NOTE=0)
+ option introduced
+ v144: Mar 12, 2012 * when |CTRL-W_s| or |CTRL-W_v| are used,
+ or their wincmd equivalents, on a netrw
+ buffer, the netrw's w: variables were
+ not copied over. Fixed.
+ Mar 13, 2012 * nbcd_curpos_{bufnr('%')} was commented
+ out, and was mistakenly used during
+ RestorePosn. Unfortunately, I'm not
+ sure why it was commented out, so this
+ "fix" may re-introduce an earlier problem.
+ Mar 21, 2012 * included s:rexposn internally to make
+ :Rex return the cursor to the same pos'n
+ upon restoration of netrw buffer
+ Mar 27, 2012 * (sjbesse) s:NetrwGetFile() needs to remove
+ "/" from the netrw buffer's usual |'isk'|
+ in order to allow "filetype detect" to work
+ properly for scripts.
v143: Jun 01, 2011 * |g:netrw_winsize| will accept a negative
number; the absolute value of it will then
be used to specify lines/columns instead of
@@ -2865,843 +2928,11 @@ which is loaded automatically at startup (assuming :set nocp).
now permits the "@" to be part of the
user id (if there's an @ that appears
to the right).
- v142: Apr 06, 2011 * I modified NetrwRemoteListing() to use
- shellescape(fnameescape(s:path),1) for
- the benefit of those using scp://.../
- with subdirectories having spaces.
- Problem reported by: Gilles Charron
- Apr 18, 2011 * s:NetrwMethod() attempts to issue an
- error message when given a malformed url
- Apr 29, 2011 * converted most mousemaps to use <Plug>s
- * |g:netrw_winsize|'s meaning changed
- v141: Aug 28, 2010 * added -s:... support for Windows ftp
- * restored 2-leftmouse for :Rex-like return
- * added balloon help for banner
- Oct 26, 2010 * :Texplore changed to start from netrw's idea
- of the current directory, not pwd's
- Feb 10, 2011 * netrwPlugin modified to use BufReadCmd
- when the "filename" ends with a "/" or a "\"
- Avoids "... is a directory" message, works
- inside a try-catch-endtry clause.
- Feb 22, 2011 * for menus, &go =~# used to insure correct case
- Apr 01, 2011 * changed g:netrw_cursorcolumn to g:netrw_cursor
- In addition, there's more supported settings for
- it.
- v140: Jul 27, 2010 * (Lech Lorens) unexpected change of window
- v139: May 14, 2010 * when viewing remote directory listings and
- changing listing style, going to tree listing
- mode was issuing two rather useless messages
- about the buffer name. They have now been
- silenced.
- * (Jean Johner) with "behave mswin", clicking
- on a filename in wide mode opened a new file
- with a missing first letter
- * (Britton Kerin) wanted netrw listings to be
- buflisted; the |g:netrw_bufsettings| option
- permits that.
- Jun 18, 2010 * (Jan Steffens) added support for xz compression
- Jun 23, 2010 * vimdiff dir1 dir2 now works
- Jul 27, 2010 * (John Orr) pointed out that the intended maparg
- test for gx was actually testing for g rather
- than gx. Fixed.
- v138: May 01, 2010 * added the bomb setting to the Save-Set-Restore
- option handling (for Tony M)
- May 14, 2010 * (Bram Moolenaar) netrw optionally sets cursorline
- (and sometimes cursorcolumn) for its display.
- This option setting was leaking through with
- remote file handling.
- v137: Dec 28, 2009 * modified the preview window handling for
- vertically split windows. The preview
- window will take up all but g:netrw_winsize
- columns of the original window; those
- g:netrw_winsize columns will be used for
- the netrw listing.
- * (Simon Dambe) removed "~" from
- |g:netrw_glob_escape| under Windows
- * (Bram Moolenaar) modified test for status bar
- click with leftmouse. Moved code to
- s:NetrwLeftmouse().
- Feb 24, 2010 * (for Jean Johner) added insert-mode maps; one
- can get into insert mode with netrw via
- ctrl-o :e .
- Mar 15, 2010 * (Dominique Pellé) Directory with backslashes such
- as foo\bar were not being entered/left properly
- Mar 15, 2010 * Using :Explore .. and causing two FocusGained
- events caused the directory to change. Fixed.
- Mar 22, 2010 * Last fix caused problems for *//pat and */filepat
- searches.
- Mar 30, 2010 * With :set hidden and changing listing styles 8
- times, the tree listing buffer was being marked
- as modified upon exit. Fixed.
- v136: Jan 14, 2009 * extended |g:Netrw_funcref| to also handle lists
- of function references
- Jan 14, 2009 * (reported by Marvin Renich) with spell check
- enabled, some filenamess will still being
- displayed as spelling errors.
- Apr 13, 2009 * (Björn Winckler) writing a file using
- remote scp caused syntax highlighting problem.
- Solution: avoid syntax/syntax.vim's
- au Filetype * syntax setting autocommand by
- checking that the current buffer has the
- netrw filetype before attempting a doau
- in s:NetrwSafeOptions().
- Apr 14, 2009 * (asgeo1) suggested the "T" map (|netrw-T|)
- Apr 14, 2009 * marking wasn't working on executable and
- other special filenames
- Apr 20, 2009 * (Dennis Benzinger) files opened via http have
- their syntax filetype auto-detected
- Jun 19, 2009 * (Yukihiro Nakadaira) help document improvements
- Jul 22, 2009 * g:netrw_browse_split will honor the
- |'equalalways'| setting.
- Jul 29, 2009 * implemented "I" mapping to toggle banner
- (this is experimental and still being debugged)
- Sep 19, 2009 * (Mike McEwan) writes via ftp now send both
- g:netrw_ftpmode and g:netrw_ftpextracmd (if the
- latter exists)
- Dec 02, 2009 * netrw uses vimgrep several places; it now uses
- "noautocmd vimgrep" (should be speedier).
- Dec 03, 2009 * changed back to using -source instead of -dump
- for elinks-using commands. (requested by James
- Vega and Karsten Hopp)
- v135: Oct 29, 2008 * using |simplify()| on directory names
- (supporting handling ".."s in directory names)
- Oct 31, 2008 * added special file highlighting for core dumps
- under Unix/Linux. The default sorting sequence
- now also gives core dumps priority.
- Nov 10, 2008 * uses a call to netrw#Nread() instead of Nread
- to avoid having to use fnameescape()
- * fixed a tree redrawing problem (open directory,
- open subdir, close subdir, close dir)
- Nov 19, 2008 * sprinkled some histdel("/",-1)s through the code
- in an attempt to prevent netrw from changing
- the search history.
- Jan 02, 2009 * |g:Netrw_funcref| included
- Jan 05, 2009 * Explore */ **/ *// **// all clear explorer
- variables
- Jan 05, 2009 * (Panagiotis Louridas) extended s:WinPath()
- to remove cygdrive from non-cygwin Windows
- paths. Improved the determination as to
- whether or not to do so.
- Jan 13, 2009 * included contains=@NoSpell in every syntax
- group for syntax/netrw.vim .
- v134: Sep 30, 2008 * (Sander Marechal) provided a bugfix involving
- the use of the |netrw-t| command with a remote
- directory.
- Sep 30, 2008 * using "x" on a remote jpg was failing; fixed.
- Oct 03, 2008 * bookmarks now go on a list and are stored to
- the first directory on the |'runtimepath'| in
- the hopes of making their retention reliable.
- History now also goes to that directory.
- Oct 07, 2008 * Included check that vim 7.0 or later is in use.
- Oct 07, 2008 * Improved |g:netrw_retmap| handling.
- Oct 12, 2008 * Based upon Sébastien Migniot's suggestion, if
- cadaver isn't available then netrw will try to
- use curl for the dav://... protocol.
- Oct 13, 2008 * added @*/ to netrw buffers' |'iskeyword'|setting
- This lets mf (|netrw-mf|) mark directories, links
- and executables.
- Oct 13, 2008 * avoids a second NetrwBrowse() refresh when
- g:netrw_fastbrowse is <= 1 (slow, medium speed)
- Oct 22, 2008 * |g:netrw_http_xcmd| may now be overridden
- independently of |g:netrw_http_cmd|.
- Oct 23, 2008 * [N] added to the various Explore commands to
- let users specify the width/height of new
- explorer windows, overriding |g:netrw_winsize|.
- v133: Aug 10, 2008 * NetReadFixup() for win95 was missing some "a:"s
- Aug 12, 2008 * (Jan Minář) an error condition in NetrwMethod()
- wasn't being used, resulting in "b:netrw_fname
- undefined" errors
- Aug 12, 2008 * (François Ingeirest) asked that "hi link" be
- changed to hi default link in the netrw syntax
- files.
- Aug 12, 2008 * using s:NetrwUnmarkList() more often. Filenames
- were being left on the global list when removed
- from the buffer-local lists.
- Aug 14, 2008 * (Joshua Clayton) an errant extra ")" was left in
- the rcp-handling portion of NetRead().
- Sep 03, 2008 * added |'cursorline'| highlighting to thin, long,
- and tree displays.
- v132: Aug 06, 2008 * Fixed marked file-based obtain
- Aug 08, 2008 * sourcing a file via ftp from a netrw-generated
- buffer (or any buffer with |'nobl'|) left an
- empty no-name buffer in its wake. Fixed.
- v130: Jul 31, 2008 * trying out elinks/links for http://host/
- requests. One problem: in-page links
- (such as with ...#LABEL) are not supported
- * verified that Bram's modified netrwPlugin works
- Aug 01, 2008 * fixed a bug: when sourcing a file via ftp, the
- "filter window" was left behind.
- v129: Jul 31, 2008 * bug found in non-mouse enabled vim and some
- local maps
- v128: Jul 30, 2008 * much work done in using shellescape() and
- fnameescape()
- v126: Jun 30, 2008 * after having gone to a remote directory,
- <f1> was no longer taking one to the correct
- entry in the help (|netrw-quickhelp|). Fixed.
- Jul 01, 2008 * extracting the last filename from a wide listing
- missed the last letter when |'virtualedit'| not
- enabled.
- Jul 01, 2008 * vim foo/bar was creating [Scratch] buffers,
- where bar was also a directory
- Jul 01, 2008 * numerous additional changes were made to netrw
- to use fnameescape() and shellescape() instead
- of escape(). Not all changes have been tested
- as yet...
- Jul 01, 2008 * (James Vega reported) some problems with
- :NetrwSettings (due to no longer used setting
- variables).
- Jul 07, 2008 * Additional numerous changes to support security;
- shellescape(arg,1), etc.
- v125: Apr 07, 2008 * (Cristian Rigamonti) CR provides a patch; he
- noted that gx was failing since its call to
- netrw#NetBrowseX() wasn't updated to
- netrw#NetrwBrowseX().
- * (Stanis Trendelenburg) ST provides a patch to
- supports davs: (dav + ssl)
- * (Rick Choi) noted that directory names comprised
- of three digits were not being displayed by
- the internal browser. Fixed.
- * (Erik Falor) provided a patch to handle problems
- with changing directory and |'acd'| option.
- * (James Vega, Teemu Likonen) noted that netrw
- wasn't handling multi-byte filenames/directories
- correctly. Fixed.
- * (Rick) found problem with g:netrw_maxfilenamelen
- being overridden.
- * (James Vega) pointed out that netrw was
- misidentifying all files in a symbolically linked
- directory as being symbolically linked
- themselves. This particular problem was fixed;
- however, there are now situations where
- symbolically linked files will not be detected.
- Really need an internal vim function to do this
- identification.
- Apr 17, 2008 * When g:netrw_keepdir==0, current directory
- doesn't necessarily equal b:netrw_curdir
- initially. Problem is due to the patch directly
- above.
- * Fixed qf to handle case where b:netrw_curdir
- isn't the same as the current directory under
- linux/macosx.
- * New: |netrw-mg| (apply vimgrep to marked files)
- May 05, 2008 * (Rick) pointed out that a "setlocal ts=32" was
- interfering with g:netrw_maxfilenamelen
- May 05, 2008 * (James Vega) a file inside a linked directory
- was showing up as a symbolic link itself.
- May 22, 2008 * symbolic links, fifos, and sockets are now
- indicated by a trailing @, |, or =, respectively.
- Jun 06, 2008 * Removed numerous bugs from the marked file
- move and copy. Tested these changes under
- Unix only thus far.
- * :Rexplore returns to the screen position in the
- netrw listing from whence the file was edited
- v124: Apr 02, 2008 * (Adrian Rollett) change the line supporting the
- "x" action for mac to use g:netrw_shq
- v123: Feb 27, 2008 * Marked files now keeps a "global" marked file
- list. The global marked file list is used to
- support tag processing and vimdiff'ing
- (|netrw-md| |netrw-mt|)
- * Been insuring that mm and mc works with various
- combinations of local and remote directories
- * (Stefan Bittner) http://.../ should always have
- filetype "html" -- fixed.
- * (Stefan Bittner) a "?" in a http://.../ request
- wasn't being handled correctly. Fixed by
- removing ? from default |g:netrw_tmpfile_escape|.
- * (Nico Weber) % codes in http://.../ requests
- weren't being handled correctly. Fixed by
- including % in default |g:netrw_fname_escape|.
- * (Stefan Bittner) attempts to update Buffers.Refresh
- were failing because locale use changed the menu
- names. I implemented a workaround.
- v122: Feb 12, 2008 * bugfix - first sorting sequence match now has
- priority
- Feb 14, 2008 * bugfix - sorting sequence was effectively ignoring
- sequencing priority of anything following '*'
- * toggling a marked file was showing incorrect list
- (list was correct, but displayed matches weren't)
- * |g:netrw_special_syntax| implemented
- v121: Feb 11, 2008 * Bram M reported that :e file ... :e . would not
- retain the alternate file. Fixed -- I hope!
- * bugfix -- apparently v120 broke an explicit
- :Explore dirname
- v120: Jan 21, 2008 * |netrw-mt| changed to allow for target selection
- based on whether or not word under cursor is a
- directory or file, or if cursor is in banner
- area.
- * |netrw-mh| included (hiding by marked-file suffix)
- * functions moved about a bit (improved
- categorization)
- * executable files now displayed with trailing (*)
- * symbolically linked files now displayed with
- trailing (@)
- * Somewhen, s:NetrwMarkFileMove() got damaged. It
- * is now restored (missing an endif, for example).
- * |netrw-mu| implemented (unmarking marked files)
- * many bugs have been removed from the marked file
- system (tnx to Mark S. for feedback)
- * |netrw-ms| implemented (sourcing marked files)
- * fixed use of P with tree listing style
- * multiple tree listing now supported
- * ./ suppressed
- * changed q -> qb (query bookmarks)
- * implemented |netrw-qf|
- * Explore now has four special list-generation
- modes: */filepat **/filepat
- *//pattern **//pattern
- * gh (|netrw-gh|) is a shortcut for toggling the
- hiding of files and directories beginning with a
- dot
- v119: Jan 10, 2008 * When g:netrw_keepdir is false,
- NetrwOptionsRestore() had a problem
- (Bill McCarthy)
- Jan 11, 2008 * Netrw now shows symbolic links with a trailing
- "@" and special highlighting.
- Jan 15, 2008 * Changed g:netrw_noretmap -> |g:netrw_retmap|.
- Changed: disabled by default at Bram's
- preference.
- v118: Jan 02, 2008 * Fixed a problem with Windows;
- :Explore c:/path/ would not work,
- but :Explore c:/path would.
- * Fixed a bug in s:NetrwOptionRestore() - lcd's
- argument wasn't being properly escaped so it
- wouldn't handle spaces in directory names.
- (Gary Johnson)
- v117: Jan 02, 2008 * Fixed a problem with P; had to include
- a b:netrw_curdir bypass (Bram Moolenaar)
- v116: Nov 27, 2007 * netrw#LocalBrowseCheck() has &ft=="netrw"
- check to prevent doing a directory listing
- (was getting unexpected directory refreshes
- in the middle of some function calls)
- * NetrwOptionRestore moved after e! filename
- in order to retain user options for editing
- in s:NetrwBrowseChgDir()
- Dec 12, 2007 * Bug fix -- netrw does a better job of retaining
- user options when editing files under the aegis
- of the browser
- v115: Oct 04, 2007 * Erik Remmelzwaal pointed out that the use of
- shellslash in s:GetTempfile() was incorrect
- Oct 11, 2007 * Tracked down and eliminated a bug with editing
- remote *.tar.gz and *.tar.bz2 files
- Oct 11, 2007 * g:netrw_localmovecmd wasn't being initialized
- properly, and g:netrw_localcopycmd was being
- overwritten.
- Oct 12, 2007 * Placed all :Rexplore and <2-leftmouse> setup
- in a new support function (s:SetRexDir()).
- Oct 15, 2007 * new: g:netrw_browse_split == 4; means <cr>
- based selection will use previous window
- Oct 20, 2007 * also checks on |'shellxquote'| to set g:netrw_shq
- Oct 24, 2007 * Explore handles path/**/filename
- Oct 27, 2007 * sourcing remote files often didn't work with ftp,
- turns out that b:netrw_method was undefined, so
- s:SaveBufVars and s:RestoreBufVars() fixed it.
- v114: Sep 28, 2007 * mT, the map that invokes tags, has been improved
- to support use of remote tags files.
- Oct 02, 2007 * changed Netrw menu to use more submenus
- v113: Sep 07, 2007 * worked out why the cursor position wasn't being
- saved and restored as intended after doing such
- things as deleting and renaming files.
- Sep 11, 2007 * Fixed bug which effectively disabled <c-l> and
- <c-h> maps
- Sep 18, 2007 * there used to be one NetrwOptionRestore() call at
- the end of the s:NetrwBrowseChgDir() function;
- they're now at the end of every if..elseif..else
- block. The edit-a-file one is not quite at the end
- of its block; instead, it's just before the edit.
- Restores user options, then this new placement
- allows ftplugins, autocmds, etc to change settings
- (ex. ftplugin/cpp.vim sets cindent).
- Sep 19, 2007 * changed all strlen() calls to use s:Strlen(), a
- function which handles utf-8 wide characters
- correctly.
- Sep 20, 2007 * (Nico Weber) the "x" command has been extended
- to Mac's OS/X (macunix); it now uses open to
- handle |netrw-x| browsing with special files.
- Sep 22, 2007 * Added g:netrw_noretmap to netrw at Tony M's
- request.
- * Included path to NetrwRemoteRmFile()
- v112: Aug 18, 2007 * added mx (|netrw-mx|) for executing arbitrary
- commands on marked files
- Aug 22, 2007 * more option save/restore work for
- s:NetrwBrowseChgDir(); s:NetrwOptionSave()
- and s:NetrwOptionRestore() now take a parameter
- specifying the type of variables to be used for
- saving and restoring (either "w:" or "s:")
- Sep 04, 2007 * added the :NetrwClean[!] command
- v111: Jul 25, 2007 * using Windows but not using Cygwin, netrw does a
- "file bufname" where the bufname uses /s
- instead of \s; Vim "fixes" it by changing the
- bufname to use \s anyway. This meant that
- NetrwGetBuffer() didn't find the appropriately
- named buffer, and so would generate a new
- buffer listing; hence the cursor would appear
- to have been moved when doing a preview.
- * added <2-leftmouse> map to return to netrw's
- browser display
- Aug 16, 2007 * added the mark-file system, including
- maps for mf mp mt mz and mu. Modifications
- made to maps for a D O and R to support
- marked files.
- v110: May 10, 2007 * added [ and ] maps to NetrwTreeListing
- May 25, 2007 * |g:netrw_preview| included
- May 29, 2007 * modified netrw#NetBrowseX to consistently use
- g:netrw_shq instead of hardcoded quotes,
- and modified the snippet that sets up redir
- so Windows machines use "nul" instead of
- "/dev/null".
- Jun 01, 2007 * fixed bug -- NetGetBuffer() wasn't always
- recognizing a buffer name match when it should,
- thus resulting in [Scratch] buffers.
- Jun 04, 2007 * Gary Johnson found a bugfix for the "c" mapping
- when the directory is to be made current but
- the name contains spaces.
- v109: Mar 26, 2007 * if a directory name includes a "$" character,
- Explore() will use expand() in an attempt to
- decipher the name.
- May 07, 2007 * g:netrw_use_errorwindow now allows one to
- have error messages go to a reliable window
- or to use a less reliable but recallable
- echoerr method
- May 07, 2007 * g:netrw_scpport and g:netrw_sshport support
- use of -P and -p, respectively, to set port
- for scp/ssh.
- v108: Jan 03, 2007 * included preview map (|netrw-p|), supporting
- remote browsing
- * netrw can now source remote files
- Jan 26, 2007 * Colton Jamieson noted that remote directory
- browsing did not support alternate port
- selection. This feature has now been extended
- to apply to all remote browsing commands via ssh.
- (list, remove/delete, rename)
- Jan 31, 2007 * Luis Florit reported that @* was an invalid
- register. The @* register is now only saved and
- restored if |'guioptions'| contains "a".
- Feb 02, 2007 * Fixed a bug that cropped up when writing files
- via scp