robin/laufey

tiny neovim fork for cozy coding

git clone https://git.robinwobin.dev/robin/laufey

zeertzjqvim-patch:9.1.2078: A few more typos in various files (#37368)e790c87cd8

master
24.5 KiB544 linesraw

Netrw.vim

netrw.vim plugin from vim (upstream repository)

The upstream maintained netrw plugin. The original has been created and maintained by Charles E Campbell and maintained by the vim project until v9.1.0988.

Every major version a snapshot from here will be sent to the main Vim upstream for distribution with Vim.

License

To see License information see the LICENSE.txt file included in this repository.

Credits

Below are stated the contribution made in the past to netrw.

Changes made to autoload/netrw.vim:

  • 2023 Nov 21 by Vim Project: ignore wildignore when expanding $COMSPEC (v173a)
  • 2023 Nov 22 by Vim Project: fix handling of very long filename on longlist style (v173a)
  • 2024 Feb 19 by Vim Project: (announce adoption)
  • 2024 Feb 29 by Vim Project: handle symlinks in tree mode correctly
  • 2024 Apr 03 by Vim Project: detect filetypes for remote edited files
  • 2024 May 08 by Vim Project: cleanup legacy Win9X checks
  • 2024 May 09 by Vim Project: remove hard-coded private.ppk
  • 2024 May 10 by Vim Project: recursively delete directories by default
  • 2024 May 13 by Vim Project: prefer scp over pscp
  • 2024 Jun 04 by Vim Project: set bufhidden if buffer changed, nohidden is set and buffer shall be switched (#14915)
  • 2024 Jun 13 by Vim Project: glob() on Windows fails when a directory name contains [] (#14952)
  • 2024 Jun 23 by Vim Project: save ad restore registers when liststyle = WIDELIST (#15077, #15114)
  • 2024 Jul 22 by Vim Project: avoid endless recursion (#15318)
  • 2024 Jul 23 by Vim Project: escape filename before trying to delete it (#15330)
  • 2024 Jul 30 by Vim Project: handle mark-copy to same target directory (#12112)
  • 2024 Aug 02 by Vim Project: honor g:netrw_alt{o,v} for :{S,H,V}explore (#15417)
  • 2024 Aug 15 by Vim Project: style changes, prevent E121 (#15501)
  • 2024 Aug 22 by Vim Project: fix mf-selection highlight (#15551)
  • 2024 Aug 22 by Vim Project: adjust echo output of mx command (#15550)
  • 2024 Sep 15 by Vim Project: more strict confirmation dialog (#15680)
  • 2024 Sep 19 by Vim Project: mf-selection highlight uses wrong pattern (#15700)
  • 2024 Sep 21 by Vim Project: remove extraneous closing bracket (#15718)
  • 2024 Oct 21 by Vim Project: remove netrwFileHandlers (#15895)
  • 2024 Oct 27 by Vim Project: clean up gx mapping (#15721)
  • 2024 Oct 30 by Vim Project: fix filetype detection for remote files (#15961)
  • 2024 Oct 30 by Vim Project: fix x mapping on cygwin (#13687)
  • 2024 Oct 31 by Vim Project: add netrw#Launch() and netrw#Open() (#15962)
  • 2024 Oct 31 by Vim Project: fix E874 when browsing remote dir (#15964)
  • 2024 Nov 07 by Vim Project: use keeppatterns to prevent polluting the search history
  • 2024 Nov 07 by Vim Project: fix a few issues with netrw tree listing (#15996)
  • 2024 Nov 10 by Vim Project: directory symlink not resolved in tree view (#16020)
  • 2024 Nov 14 by Vim Project: small fixes to netrw#BrowseX (#16056)
  • 2024 Nov 23 by Vim Project: update decompress defaults (#16104)
  • 2024 Nov 23 by Vim Project: fix powershell escaping issues (#16094)
  • 2024 Dec 04 by Vim Project: do not detach for gvim (#16168)
  • 2024 Dec 08 by Vim Project: check the first arg of netrw_browsex_viewer for being executable (#16185)
  • 2024 Dec 12 by Vim Project: do not pollute the search history (#16206)
  • 2024 Dec 19 by Vim Project: change style (#16248)
  • 2024 Dec 20 by Vim Project: change style continued (#16266), fix escaping of # in :Open command (#16265)

General changes made to netrw:

	v172:	Sep 02, 2021	* (Bram Moolenaar) Changed "l:go" to "go"
				* (Bram Moolenaar) no need for "b" in
				  netrw-safe guioptions
		Nov 15, 2021	* removed netrw_localrm and netrw_localrmdir
				  references
		Aug 18, 2022	* (Miguel Barro) improving compatibility with
				  powershell
	v171:	Oct 09, 2020	* included code in s:NetrwOptionsSafe()
				  to allow |'bh'| to be set to delete when
				  rather than hide when g:netrw_fastbrowse
				  was zero.
				* Installed |g:netrw_clipboard| setting
				* Installed option bypass for |'guioptions'|
				  a/A settings
				* Changed popup_beval() to |popup_atcursor()|
				  in netrw#ErrorMsg (lacygoill). Apparently
				  popup_beval doesn't reliably close the
				  popup when the mouse is moved.
				* VimEnter() now using win_execute to examine
				  buffers for an attempt to open a directory.
				  Avoids issues with popups/terminal from
				  command line. (lacygoill)
		Jun 28, 2021	* (zeertzjq) provided a patch for use of
				  xmap,xno instead of vmap,vno in
				  netrwPlugin.vim. Avoids entanglement with
				  select mode.
		Jul 14, 2021	* Fixed problem addressed by tst976; opening
				  a file using tree mode, going up a
				  directory, and opening a file there was
				  opening the file in the wrong directory.
		Jul 28, 2021	* (Ingo Karkat) provided a patch fixing an
				  E488 error with netrwPlugin.vim
				  (occurred for vim versions < 8.02)
	v170:	Mar 11, 2020	* (reported by Reiner Herrmann) netrw+tree
				  would not hide with the ^\..* pattern
				  correctly.
				* (Marcin Szamotulski) NetrwOptionRestore
				  did not restore options correctly that
				  had a single quote in the option string.
		Apr 13, 2020	* implemented error handling via popup
				  windows (see |popup_beval()|)
		Apr 30, 2020	* (reported by Manatsu Takahashi) while
				  using Lexplore, a modified file could
				  be overwritten.  Sol'n: will not overwrite,
				  but will emit an |E37| (although one cannot
				  add an ! to override)
		Jun 07, 2020	* (reported by Jo Totland) repeatedly invoking
				  :Lexplore and quitting it left unused
				  hidden buffers.  Netrw will now set netrw
				  buffers created by :Lexplore to |'bh'|=wipe.
	v169:	Dec 20, 2019	* (reported by amkarthik) that netrw's x
				  (|netrw-x|) would throw an error when
				  attempting to open a local directory.
	v168:	Dec 12, 2019	* scp timeout error message not reported,
				  hopefully now fixed (Shane Xb Qian)
	v167:	Nov 29, 2019	* netrw does a save&restore on @* and @+.
				  That causes problems with the clipboard.
				  Now restores occurs only if @* or @+ have
				  been changed.
				* netrw will change @* or @+ less often.
				  Never if I happen to have caught all the
				  operations that modify the unnamed
				  register (which also writes @*).
				* Modified hiding behavior so that "s"
				  will not ignore hiding.
	v166:	Nov 06, 2019	* Removed a space from a nmap for "-"
				* Numerous debugging statement changes
	v163:	Dec 05, 2017	* (Cristi Balan) reported that a setting ('sel')
				  was left changed
				* (Holger Mitschke) reported a problem with
				  saving and restoring history.  Fixed.
				* Hopefully I fixed a nasty bug that caused a
				  file rename to wipe out a buffer that it
				  should not have wiped out.
				* (Holger Mitschke) amended this help file
				  with additional |g:netrw_special_syntax|
				  items
				* Prioritized wget over curl for
				  g:netrw_http_cmd
	v162:	Sep 19, 2016	* (haya14busa) pointed out two syntax errors
				  with a patch; these are now fixed.
		Oct 26, 2016	* I started using mate-terminal and found that
				  x and gx (|netrw-x| and |netrw-gx|) were no
				  longer working.  Fixed (using atril when
				  $DESKTOP_SESSION is "mate").
		Nov 04, 2016	* (Martin Vuille) pointed out that @+ was
				  being restored with keepregstar rather than
				  keepregplus.
		Nov 09, 2016	* Broke apart the command from the options,
				  mostly for Windows.  Introduced new netrw
				  settings: |g:netrw_localcopycmdopt|
				  |g:netrw_localcopydircmdopt|
				  |g:netrw_localmkdiropt|
				  |g:netrw_localmovecmdopt|
		Nov 21, 2016	* (mattn) provided a patch for preview; swapped
				  winwidth() with winheight()
		Nov 22, 2016	* (glacambre) reported that files containing
				  spaces weren't being obtained properly via
				  scp.  Fix: apparently using single quotes
				  such as with 'file name' wasn't enough; the
				  spaces inside the quotes also had to be
				  escaped (ie. 'file\ name').
				* Also fixed obtain (|netrw-O|) to be able to
				  obtain files with spaces in their names
		Dec 20, 2016	* (xc1427) Reported that using "I" (|netrw-I|)
				  when atop "Hiding" in the banner also caused
				  the active-banner hiding control to occur
		Jan 03, 2017	* (Enno Nagel) reported that attempting to
				  apply netrw to a directory that was without
				  read permission caused a syntax error.
		Jan 13, 2017	* (Ingo Karkat) provided a patch which makes
				  using netrw#Call() better.  Now returns
				  value of internal routines return, for example.
		Jan 13, 2017	* (Ingo Karkat) changed netrw#FileUrlRead to
				  use |:edit| instead of |:read|.  I also
				  changed the routine name to netrw#FileUrlEdit.
		Jan 16, 2017	* (Sayem) reported a problem where :Lexplore
				  could generate a new listing buffer and
				  window instead of toggling the netrw display.
				  Unfortunately, the directions for eliciting
				  the problem weren't complete, so I may or
				  may not have fixed that issue.
		Feb 06, 2017	* Implemented cb and cB.  Changed "c" to "cd".
				  (see |netrw-cb|, |netrw-cB|, and |netrw-cd|)
		Mar 21, 2017	* previously, netrw would specify (safe) settings
				  even when the setting was already safe for
				  netrw.  Netrw now attempts to leave such
				  already-netrw-safe settings alone.
				  (affects s:NetrwOptionRestore() and
				  s:NetrwSafeOptions(); also introduced
				  s:NetrwRestoreSetting())
		Jun 26, 2017	* (Christian Brabandt) provided a patch to
				  allow curl to follow redirects (ie. -L
				  option)
		Jun 26, 2017	* (Callum Howard) reported a problem with
				  :Lexpore not removing the Lexplore window
				  after a change-directory
		Aug 30, 2017	* (Ingo Karkat) one cannot switch to the
				  previously edited file (e.g. with CTRL-^)
				  after editing a file:// URL.  Patch to
				  have a "keepalt" included.
		Oct 17, 2017	* (Adam Faryna) reported that gn (|netrw-gn|)
				  did not work on directories in the current
				  tree
	v157:	Apr 20, 2016	* (Nicola) had set up a "nmap <expr> ..." with
				  a function that returned a 0 while silently
				  invoking a shell command.  The shell command
				  activated a ShellCmdPost event which in turn
				  called s:LocalBrowseRefresh().  That looks
				  over all netrw buffers for changes needing
				  refreshes.  However, inside a |:map-<expr>|,
				  tab and window changes are disallowed.  Fixed.
				  (affects netrw's s:LocalBrowseRefresh())
				* g:netrw_localrmdir not used any more, but
				  the relevant patch that causes |delete()| to
				  take over was #1107 (not #1109).
				* |expand()| is now used on |g:netrw_home|;
				  consequently, g:netrw_home may now use
				  environment variables
				* s:NetrwLeftmouse and s:NetrwCLeftmouse will
				  return without doing anything if invoked
				  when inside a non-netrw window
		Jun 15, 2016	* gx now calls netrw#GX() which returns
				  the word under the cursor.  The new
				  wrinkle: if one is in a netrw buffer,
				  then netrw's s:NetrwGetWord().
		Jun 22, 2016	* Netrw was executing all its associated
				  Filetype commands silently; I'm going
				  to try doing that "noisily" and see if
				  folks have a problem with that.
		Aug 12, 2016	* Changed order of tool selection for
				  handling http://... viewing.
				  (Nikolay Aleksandrovich Pavlov)
		Aug 21, 2016	* Included hiding/showing/all for tree
				  listings
				* Fixed refresh (^L) for tree listings
	v156:	Feb 18, 2016	* Changed =~ to =~# where appropriate
		Feb 23, 2016	* s:ComposePath(base,subdir) now uses
				  fnameescape() on the base portion
		Mar 01, 2016	* (gt_macki) reported where :Explore would
				  make file unlisted. Fixed (tst943)
		Apr 04, 2016	* (reported by John Little) netrw normally
				  suppresses browser messages, but sometimes
				  those "messages" are what is wanted.
				  See |g:netrw_suppress_gx_mesg|
		Apr 06, 2016	* (reported by Carlos Pita) deleting a remote
				  file was giving an error message.  Fixed.
		Apr 08, 2016	* (Charles Cooper) had a problem with an
				  undefined b:netrw_curdir.  He also provided
				  a fix.
		Apr 20, 2016	* Changed s:NetrwGetBuffer(); now uses
				  dictionaries.  Also fixed the "No Name"
				  buffer problem.
	v155:	Oct 29, 2015	* (Timur Fayzrakhmanov) reported that netrw's
				  mapping of ctrl-l was not allowing refresh of
				  other windows when it was done in a netrw
				  window.
		Nov 05, 2015	* Improved s:TreeSqueezeDir() to use search()
				  instead of a loop
				* NetrwBrowse() will return line to
				  w:netrw_bannercnt if cursor ended up in
				  banner
		Nov 16, 2015	* Added a <Plug>NetrwTreeSqueeze (|netrw-s-cr|)
		Nov 17, 2015	* Commented out imaps -- perhaps someone can
				  tell me how they're useful and should be
				  retained?
		Nov 20, 2015	* Added |netrw-ma| and |netrw-mA| support
		Nov 20, 2015	* gx (|netrw-gx|) on a URL downloaded the
				  file in addition to simply bringing up the
				  URL in a browser.  Fixed.
		Nov 23, 2015	* Added |g:netrw_sizestyle| support
		Nov 27, 2015	* Inserted a lot of <c-u>s into various netrw
				  maps.
		Jan 05, 2016	* |netrw-qL| implemented to mark files based
				  upon |location-list|s; similar to |netrw-qF|.
		Jan 19, 2016	* using - call delete(directoryname,"d") -
				  instead of using g:netrw_localrmdir if
				  v7.4 + patch#1107 is available
		Jan 28, 2016	* changed to using |winsaveview()| and
				  |winrestview()|
		Jan 28, 2016	* s:NetrwTreePath() now does a save and
				  restore of view
		Feb 08, 2016	* Fixed a tree-listing problem with remote
				  directories
	v154:	Feb 26, 2015	* (Yuri Kanivetsky) reported a situation where
				  a file was not treated properly as a file
				  due to g:netrw_keepdir == 1
		Mar 25, 2015	* (requested by Ben Friz) one may now sort by
				  extension
		Mar 28, 2015	* (requested by Matt Brooks) netrw has a lot
				  of buffer-local mappings; however, some
				  plugins (such as vim-surround) set up
				  conflicting mappings that cause vim to wait.
				  The "<nowait>" modifier has been included
				  with most of netrw's mappings to avoid that
				  delay.
		Jun 26, 2015	* |netrw-gn| mapping implemented
				* :Ntree NotADir resulted in having
				  the tree listing expand in the error messages
				  window.  Fixed.
		Jun 29, 2015	* Attempting to delete a file remotely caused
				  an error with "keepsol" mentioned; fixed.
		Jul 08, 2015	* Several changes to keep the |:jumps| table
				  correct when working with
				  |g:netrw_fastbrowse| set to 2
				* wide listing with accented characters fixed
				  (using %-S instead of %-s with a |printf()|
		Jul 13, 2015	* (Daniel Hahler) CheckIfKde() could be true
				  but kfmclient not installed.  Changed order
				  in netrw#BrowseX(): checks if kde and
				  kfmclient, then will use xdg-open on a unix
				  system (if xdg-open is executable)
		Aug 11, 2015	* (McDonnell) tree listing mode wouldn't
				  select a file in a open subdirectory.
				* (McDonnell) when multiple subdirectories
				  were concurrently open in tree listing
				  mode, a ctrl-L wouldn't refresh properly.
				* The netrw:target menu showed duplicate
				  entries
		Oct 13, 2015	* (mattn) provided an exception to handle
				  windows with shellslash set but no shell
		Oct 23, 2015	* if g:netrw_usetab and <c-tab> now used
				  to control whether NetrwShrink is used
				  (see |netrw-c-tab|)
	v153:	May 13, 2014	* added another |g:netrw_ffkeep| usage {{{2
		May 14, 2014	* changed s:PerformListing() so that it
				  always sets ft=netrw for netrw buffers
				  (ie. even when syntax highlighting is
				  off, not available, etc)
		May 16, 2014	* introduced the |netrw-ctrl-r| functionality
		May 17, 2014	* introduced the |netrw-:NetrwMB| functionality
				* mb and mB (|netrw-mb|, |netrw-mB|) will
				  add/remove marked files from bookmark list
		May 20, 2014	* (Enno Nagel) reported that :Lex <dirname>
				  wasn't working.  Fixed.
		May 26, 2014	* restored test to prevent leftmouse window
				  resizing from causing refresh.
				  (see s:NetrwLeftmouse())
				* fixed problem where a refresh caused cursor
				  to go just under the banner instead of
				  staying put
		May 28, 2014	* (László Bimba) provided a patch for opening
				  the |:Lexplore| window 100% high, optionally
				  on the right, and will work with remote
				  files.
		May 29, 2014	* implemented :NetrwC  (see |netrw-:NetrwC|)
		Jun 01, 2014	* Removed some "silent"s from commands used
				  to implemented scp://... and pscp://...
				  directory listing.  Permits request for
				  password to appear.
		Jun 05, 2014	* (Enno Nagel) reported that user maps "/"
				  caused problems with "b" and "w", which
				  are mapped (for wide listings only) to
				  skip over files rather than just words.
		Jun 10, 2014	* |g:netrw_gx| introduced to allow users to
				  override default "<cfile>" with the gx
				  (|netrw-gx|) map
		Jun 11, 2014	* gx (|netrw-gx|), with |'autowrite'| set,
				  will write modified files.  s:NetrwBrowseX()
				  will now save, turn off, and restore the
				  |'autowrite'| setting.
		Jun 13, 2014	* added visual map for gx use
		Jun 15, 2014	* (Enno Nagel) reported that with having hls
				  set and wide listing style in use, that the
				  b and w maps caused unwanted highlighting.
		Jul 05, 2014	* |netrw-mv| and |netrw-mX| commands included
		Jul 09, 2014	* |g:netrw_keepj| included, allowing optional
				  keepj
		Jul 09, 2014	* fixing bugs due to previous update
		Jul 21, 2014	* (Bruno Sutic) provided an updated
				  netrw_gitignore.vim
		Jul 30, 2014	* (Yavuz Yetim) reported that editing two
				  remote files of the same name caused the
				  second instance to have a "temporary"
				  name.  Fixed: now they use the same buffer.
		Sep 18, 2014	* (Yasuhiro Matsumoto) provided a patch which
				  allows scp and windows local paths to work.
		Oct 07, 2014	* gx (see |netrw-gx|) when atop a directory,
				  will now do |gf| instead
		Nov 06, 2014	* For cygwin: cygstart will be available for
				  netrw#BrowseX() to use if its executable.
		Nov 07, 2014	* Began support for file://... urls.  Will use
				  |g:netrw_file_cmd| (typically elinks or links)
		Dec 02, 2014	* began work on having mc (|netrw-mc|) copy
				  directories.  Works for linux machines,
				  cygwin+vim, but not for windows+gvim.
		Dec 02, 2014	* in tree mode, netrw was not opening
				  directories via symbolic links.
		Dec 02, 2014	* added resolved link information to
				  thin and tree modes
		Dec 30, 2014	* (issue#231) |:ls| was not showing
				  remote-file buffers reliably.  Fixed.
	v152:	Apr 08, 2014	* uses the |'noswapfile'| option (requires {{{2
				  vim 7.4 with patch 213)
				* (Enno Nagel) turn |'rnu'| off in netrw
				  buffers.
				* (Quinn Strahl) suggested that netrw
				  allow regular window splitting to occur,
				  thereby allowing |'equalalways'| to take
				  effect.
				* (qingtian zhao) normally, netrw will
				  save and restore the |'fileformat'|;
				  however, sometimes that isn't wanted
		Apr 14, 2014	* whenever netrw marks a buffer as ro,
				  it will also mark it as nomod.
		Apr 16, 2014	* sftp protocol now supported by
				  netrw#Obtain(); this means that one
				  may use "mc" to copy a remote file
				  to a local file using sftp, and that
				  the |netrw-O| command can obtain remote
				  files via sftp.
				* added [count]C support (see |netrw-C|)
		Apr 18, 2014	* when |g:netrw_chgwin| is one more than
				  the last window, then vertically split
				  the last window and use it as the
				  chgwin window.
		May 09, 2014	* SavePosn was "saving filename under cursor"
				  from a non-netrw window when using :Rex.
	v151:	Jan 22, 2014	* extended :Rexplore to return to buffer {{{2
				  prior to Explore or editing a directory
				* (Ken Takata) netrw gave error when
				  clipboard was disabled.  Sol'n: Placed
				  several if has("clipboard") tests in.
				* Fixed ftp://X@Y@Z// problem; X@Y now
				  part of user id, and only Z is part of
				  hostname.
				* (A Loumiotis) reported that completion
				  using a directory name containing spaces
				  did not work.  Fixed with a retry in
				  netrw#Explore() which removes the
				  backslashes vim inserted.
		Feb 26, 2014	* :Rexplore now records the current file
				   using w:netrw_rexfile when returning via
				  |:Rexplore|
		Mar 08, 2014	* (David Kotchan) provided some patches
				  allowing netrw to work properly with
				  windows shares.
				* Multiple one-liner help messages available
				  by pressing <cr> while atop the "Quick
				  Help" line
				* worked on ShellCmdPost, FocusGained event
				  handling.
				* |:Lexplore| path: will be used to update
				  a left-side netrw browsing directory.
		Mar 12, 2014	* |netrw-s-cr|: use <s-cr>  to close
				  tree directory implemented
		Mar 13, 2014	* (Tony Mechylynck) reported that using
				  the browser with ftp on a directory,
				  and selecting a gzipped txt file, that
				  an E19 occurred (which was issued by
				  gzip.vim).  Fixed.
		Mar 14, 2014	* Implemented :MF and :MT (see |netrw-:MF|
				  and |netrw-:MT|, respectively)
		Mar 17, 2014	* |:Ntree| [dir] wasn't working properly; fixed
		Mar 18, 2014	* Changed all uses of set to setl
		Mar 18, 2014	* Commented the netrw_btkeep line in
				  s:NetrwOptionSave(); the effect is that
				  netrw buffers will remain as |'bt'|=nofile.
				  This should prevent swapfiles being created
				  for netrw buffers.
		Mar 20, 2014	* Changed all uses of lcd to use s:NetrwLcd()
				  instead.  Consistent error handling results
				  and it also handles Window's shares
				* Fixed |netrw-d| command when applied with ftp
				* https: support included for netrw#NetRead()
	v150:	Jul 12, 2013	* removed a "keepalt" to allow ":e #" to {{{2
				  return to the netrw directory listing
		Jul 13, 2013	* (Jonas Diemer) suggested changing
				  a <cWORD> to <cfile>.
		Jul 21, 2013	* (Yuri Kanivetsky) reported that netrw's
				  use of mkdir did not produce directories
				  following the user's umask.
		Aug 27, 2013	* introduced |g:netrw_altfile| option
		Sep 05, 2013	* s:Strlen() now uses |strdisplaywidth()|
				  when available, by default
		Sep 12, 2013	* (Selyano Baldo) reported that netrw wasn't
				  opening some directories properly from the
				  command line.
		Nov 09, 2013	* |:Lexplore| introduced
				* (Ondrej Platek) reported an issue with
				  netrw's trees (P15).  Fixed.
				* (Jorge Solis) reported that "t" in
				  tree mode caused netrw to forget its
				  line position.
		Dec 05, 2013	* Added <s-leftmouse> file marking
				  (see |netrw-mf|)
		Dec 05, 2013	* (Yasuhiro Matsumoto) Explore should use
				  strlen() instead s:Strlen() when handling
				  multibyte chars with strpart()
				  (ie. strpart() is byte oriented, not
				  display-width oriented).
		Dec 09, 2013	* (Ken Takata) Provided a patch; File sizes
				  and a portion of timestamps were wrongly
				  highlighted with the directory color when
				  setting `:let g:netrw_liststyle=1` on Windows.
				* (Paul Domaskis) noted that sometimes
				  cursorline was activating in non-netrw
				  windows.  All but one setting of cursorline
				  was done via setl; there was one that was
				  overlooked.  Fixed.
		Dec 24, 2013	* (esquifit) asked that netrw allow the
				  /cygdrive prefix be a user-alterable
				  parameter.
		Jan 02, 2014	* Fixed a problem with netrw-based ballon
				  evaluation (ie. netrw#NetrwBaloonHelp()
				  not having been loaded error messages)
		Jan 03, 2014	* Fixed a problem with tree listings
				* New command installed: |:Ntree|
		Jan 06, 2014	* (Ivan Brennan) reported a problem with
				  |netrw-P|.  Fixed.
		Jan 06, 2014	* Fixed a problem with |netrw-P| when the
				  modified file was to be abandoned.
		Jan 15, 2014	* (Matteo Cavalleri) reported that when the
				  banner is suppressed and tree listing is
				  used, a blank line was left at the top of
				  the display.  Fixed.
		Jan 20, 2014	* (Gideon Go) reported that, in tree listing
				  style, with a previous window open, that
				  the wrong directory was being used to open
				  a file.  Fixed. (P21)
	v149:	Apr 18, 2013	* in wide listing format, now have maps for {{{2
				  w and b to move to next/previous file
		Apr 26, 2013	* one may now copy files in the same
				  directory; netrw will issue requests for
				  what names the files should be copied under
		Apr 29, 2013	* Trying Benzinger's problem again.  Seems
				  that commenting out the BufEnter and
				  installing VimEnter (only) works.  Weird
				  problem!  (tree listing, vim -O Dir1 Dir2)
		May 01, 2013	* :Explore ftp://... wasn't working.  Fixed.
		May 02, 2013	* introduced |g:netrw_bannerbackslash| as
				  requested by Paul Domaskis.
		Jul 03, 2013	* Explore now avoids splitting when a buffer
				  will be hidden.
	v148:	Apr 16, 2013	* changed Netrw's Style menu to allow direct {{{2
				  choice of listing style, hiding style, and
				  sorting style
1# Netrw.vim
2
3netrw.vim plugin from vim (upstream repository)
4
5The upstream maintained netrw plugin. The original has been created and
6maintained by Charles E Campbell and maintained by the vim project until
7v9.1.0988.
8
9Every major version a snapshot from here will be sent to the main [Vim][1]
10upstream for distribution with Vim.
11
12# License
13
14To see License information see the LICENSE.txt file included in this
15repository.
16
17# Credits
18
19Below are stated the contribution made in the past to netrw.
20
21Changes made to `autoload/netrw.vim`:
22- 2023 Nov 21 by Vim Project: ignore wildignore when expanding $COMSPEC (v173a)
23- 2023 Nov 22 by Vim Project: fix handling of very long filename on longlist style (v173a)
24- 2024 Feb 19 by Vim Project: (announce adoption)
25- 2024 Feb 29 by Vim Project: handle symlinks in tree mode correctly
26- 2024 Apr 03 by Vim Project: detect filetypes for remote edited files
27- 2024 May 08 by Vim Project: cleanup legacy Win9X checks
28- 2024 May 09 by Vim Project: remove hard-coded private.ppk
29- 2024 May 10 by Vim Project: recursively delete directories by default
30- 2024 May 13 by Vim Project: prefer scp over pscp
31- 2024 Jun 04 by Vim Project: set bufhidden if buffer changed, nohidden is set and buffer shall be switched (#14915)
32- 2024 Jun 13 by Vim Project: glob() on Windows fails when a directory name contains [] (#14952)
33- 2024 Jun 23 by Vim Project: save ad restore registers when liststyle = WIDELIST (#15077, #15114)
34- 2024 Jul 22 by Vim Project: avoid endless recursion (#15318)
35- 2024 Jul 23 by Vim Project: escape filename before trying to delete it (#15330)
36- 2024 Jul 30 by Vim Project: handle mark-copy to same target directory (#12112)
37- 2024 Aug 02 by Vim Project: honor g:netrw_alt{o,v} for :{S,H,V}explore (#15417)
38- 2024 Aug 15 by Vim Project: style changes, prevent E121 (#15501)
39- 2024 Aug 22 by Vim Project: fix mf-selection highlight (#15551)
40- 2024 Aug 22 by Vim Project: adjust echo output of mx command (#15550)
41- 2024 Sep 15 by Vim Project: more strict confirmation dialog (#15680)
42- 2024 Sep 19 by Vim Project: mf-selection highlight uses wrong pattern (#15700)
43- 2024 Sep 21 by Vim Project: remove extraneous closing bracket (#15718)
44- 2024 Oct 21 by Vim Project: remove netrwFileHandlers (#15895)
45- 2024 Oct 27 by Vim Project: clean up gx mapping (#15721)
46- 2024 Oct 30 by Vim Project: fix filetype detection for remote files (#15961)
47- 2024 Oct 30 by Vim Project: fix x mapping on cygwin (#13687)
48- 2024 Oct 31 by Vim Project: add netrw#Launch() and netrw#Open() (#15962)
49- 2024 Oct 31 by Vim Project: fix E874 when browsing remote dir (#15964)
50- 2024 Nov 07 by Vim Project: use keeppatterns to prevent polluting the search history
51- 2024 Nov 07 by Vim Project: fix a few issues with netrw tree listing (#15996)
52- 2024 Nov 10 by Vim Project: directory symlink not resolved in tree view (#16020)
53- 2024 Nov 14 by Vim Project: small fixes to netrw#BrowseX (#16056)
54- 2024 Nov 23 by Vim Project: update decompress defaults (#16104)
55- 2024 Nov 23 by Vim Project: fix powershell escaping issues (#16094)
56- 2024 Dec 04 by Vim Project: do not detach for gvim (#16168)
57- 2024 Dec 08 by Vim Project: check the first arg of netrw_browsex_viewer for being executable (#16185)
58- 2024 Dec 12 by Vim Project: do not pollute the search history (#16206)
59- 2024 Dec 19 by Vim Project: change style (#16248)
60- 2024 Dec 20 by Vim Project: change style continued (#16266), fix escaping of # in :Open command (#16265)
61
62General changes made to netrw:
63
64```
65	v172:	Sep 02, 2021	* (Bram Moolenaar) Changed "l:go" to "go"
66				* (Bram Moolenaar) no need for "b" in
67				  netrw-safe guioptions
68		Nov 15, 2021	* removed netrw_localrm and netrw_localrmdir
69				  references
70		Aug 18, 2022	* (Miguel Barro) improving compatibility with
71				  powershell
72	v171:	Oct 09, 2020	* included code in s:NetrwOptionsSafe()
73				  to allow |'bh'| to be set to delete when
74				  rather than hide when g:netrw_fastbrowse
75				  was zero.
76				* Installed |g:netrw_clipboard| setting
77				* Installed option bypass for |'guioptions'|
78				  a/A settings
79				* Changed popup_beval() to |popup_atcursor()|
80				  in netrw#ErrorMsg (lacygoill). Apparently
81				  popup_beval doesn't reliably close the
82				  popup when the mouse is moved.
83				* VimEnter() now using win_execute to examine
84				  buffers for an attempt to open a directory.
85				  Avoids issues with popups/terminal from
86				  command line. (lacygoill)
87		Jun 28, 2021	* (zeertzjq) provided a patch for use of
88				  xmap,xno instead of vmap,vno in
89				  netrwPlugin.vim. Avoids entanglement with
90				  select mode.
91		Jul 14, 2021	* Fixed problem addressed by tst976; opening
92				  a file using tree mode, going up a
93				  directory, and opening a file there was
94				  opening the file in the wrong directory.
95		Jul 28, 2021	* (Ingo Karkat) provided a patch fixing an
96				  E488 error with netrwPlugin.vim
97				  (occurred for vim versions < 8.02)
98	v170:	Mar 11, 2020	* (reported by Reiner Herrmann) netrw+tree
99				  would not hide with the ^\..* pattern
100				  correctly.
101				* (Marcin Szamotulski) NetrwOptionRestore
102				  did not restore options correctly that
103				  had a single quote in the option string.
104		Apr 13, 2020	* implemented error handling via popup
105				  windows (see |popup_beval()|)
106		Apr 30, 2020	* (reported by Manatsu Takahashi) while
107				  using Lexplore, a modified file could
108				  be overwritten.  Sol'n: will not overwrite,
109				  but will emit an |E37| (although one cannot
110				  add an ! to override)
111		Jun 07, 2020	* (reported by Jo Totland) repeatedly invoking
112				  :Lexplore and quitting it left unused
113				  hidden buffers.  Netrw will now set netrw
114				  buffers created by :Lexplore to |'bh'|=wipe.
115	v169:	Dec 20, 2019	* (reported by amkarthik) that netrw's x
116				  (|netrw-x|) would throw an error when
117				  attempting to open a local directory.
118	v168:	Dec 12, 2019	* scp timeout error message not reported,
119				  hopefully now fixed (Shane Xb Qian)
120	v167:	Nov 29, 2019	* netrw does a save&restore on @* and @+.
121				  That causes problems with the clipboard.
122				  Now restores occurs only if @* or @+ have
123				  been changed.
124				* netrw will change @* or @+ less often.
125				  Never if I happen to have caught all the
126				  operations that modify the unnamed
127				  register (which also writes @*).
128				* Modified hiding behavior so that "s"
129				  will not ignore hiding.
130	v166:	Nov 06, 2019	* Removed a space from a nmap for "-"
131				* Numerous debugging statement changes
132	v163:	Dec 05, 2017	* (Cristi Balan) reported that a setting ('sel')
133				  was left changed
134				* (Holger Mitschke) reported a problem with
135				  saving and restoring history.  Fixed.
136				* Hopefully I fixed a nasty bug that caused a
137				  file rename to wipe out a buffer that it
138				  should not have wiped out.
139				* (Holger Mitschke) amended this help file
140				  with additional |g:netrw_special_syntax|
141				  items
142				* Prioritized wget over curl for
143				  g:netrw_http_cmd
144	v162:	Sep 19, 2016	* (haya14busa) pointed out two syntax errors
145				  with a patch; these are now fixed.
146		Oct 26, 2016	* I started using mate-terminal and found that
147				  x and gx (|netrw-x| and |netrw-gx|) were no
148				  longer working.  Fixed (using atril when
149				  $DESKTOP_SESSION is "mate").
150		Nov 04, 2016	* (Martin Vuille) pointed out that @+ was
151				  being restored with keepregstar rather than
152				  keepregplus.
153		Nov 09, 2016	* Broke apart the command from the options,
154				  mostly for Windows.  Introduced new netrw
155				  settings: |g:netrw_localcopycmdopt|
156				  |g:netrw_localcopydircmdopt|
157				  |g:netrw_localmkdiropt|
158				  |g:netrw_localmovecmdopt|
159		Nov 21, 2016	* (mattn) provided a patch for preview; swapped
160				  winwidth() with winheight()
161		Nov 22, 2016	* (glacambre) reported that files containing
162				  spaces weren't being obtained properly via
163				  scp.  Fix: apparently using single quotes
164				  such as with 'file name' wasn't enough; the
165				  spaces inside the quotes also had to be
166				  escaped (ie. 'file\ name').
167				* Also fixed obtain (|netrw-O|) to be able to
168				  obtain files with spaces in their names
169		Dec 20, 2016	* (xc1427) Reported that using "I" (|netrw-I|)
170				  when atop "Hiding" in the banner also caused
171				  the active-banner hiding control to occur
172		Jan 03, 2017	* (Enno Nagel) reported that attempting to
173				  apply netrw to a directory that was without
174				  read permission caused a syntax error.
175		Jan 13, 2017	* (Ingo Karkat) provided a patch which makes
176				  using netrw#Call() better.  Now returns
177				  value of internal routines return, for example.
178		Jan 13, 2017	* (Ingo Karkat) changed netrw#FileUrlRead to
179				  use |:edit| instead of |:read|.  I also
180				  changed the routine name to netrw#FileUrlEdit.
181		Jan 16, 2017	* (Sayem) reported a problem where :Lexplore
182				  could generate a new listing buffer and
183				  window instead of toggling the netrw display.
184				  Unfortunately, the directions for eliciting
185				  the problem weren't complete, so I may or
186				  may not have fixed that issue.
187		Feb 06, 2017	* Implemented cb and cB.  Changed "c" to "cd".
188				  (see |netrw-cb|, |netrw-cB|, and |netrw-cd|)
189		Mar 21, 2017	* previously, netrw would specify (safe) settings
190				  even when the setting was already safe for
191				  netrw.  Netrw now attempts to leave such
192				  already-netrw-safe settings alone.
193				  (affects s:NetrwOptionRestore() and
194				  s:NetrwSafeOptions(); also introduced
195				  s:NetrwRestoreSetting())
196		Jun 26, 2017	* (Christian Brabandt) provided a patch to
197				  allow curl to follow redirects (ie. -L
198				  option)
199		Jun 26, 2017	* (Callum Howard) reported a problem with
200				  :Lexpore not removing the Lexplore window
201				  after a change-directory
202		Aug 30, 2017	* (Ingo Karkat) one cannot switch to the
203				  previously edited file (e.g. with CTRL-^)
204				  after editing a file:// URL.  Patch to
205				  have a "keepalt" included.
206		Oct 17, 2017	* (Adam Faryna) reported that gn (|netrw-gn|)
207				  did not work on directories in the current
208				  tree
209	v157:	Apr 20, 2016	* (Nicola) had set up a "nmap <expr> ..." with
210				  a function that returned a 0 while silently
211				  invoking a shell command.  The shell command
212				  activated a ShellCmdPost event which in turn
213				  called s:LocalBrowseRefresh().  That looks
214				  over all netrw buffers for changes needing
215				  refreshes.  However, inside a |:map-<expr>|,
216				  tab and window changes are disallowed.  Fixed.
217				  (affects netrw's s:LocalBrowseRefresh())
218				* g:netrw_localrmdir not used any more, but
219				  the relevant patch that causes |delete()| to
220				  take over was #1107 (not #1109).
221				* |expand()| is now used on |g:netrw_home|;
222				  consequently, g:netrw_home may now use
223				  environment variables
224				* s:NetrwLeftmouse and s:NetrwCLeftmouse will
225				  return without doing anything if invoked
226				  when inside a non-netrw window
227		Jun 15, 2016	* gx now calls netrw#GX() which returns
228				  the word under the cursor.  The new
229				  wrinkle: if one is in a netrw buffer,
230				  then netrw's s:NetrwGetWord().
231		Jun 22, 2016	* Netrw was executing all its associated
232				  Filetype commands silently; I'm going
233				  to try doing that "noisily" and see if
234				  folks have a problem with that.
235		Aug 12, 2016	* Changed order of tool selection for
236				  handling http://... viewing.
237				  (Nikolay Aleksandrovich Pavlov)
238		Aug 21, 2016	* Included hiding/showing/all for tree
239				  listings
240				* Fixed refresh (^L) for tree listings
241	v156:	Feb 18, 2016	* Changed =~ to =~# where appropriate
242		Feb 23, 2016	* s:ComposePath(base,subdir) now uses
243				  fnameescape() on the base portion
244		Mar 01, 2016	* (gt_macki) reported where :Explore would
245				  make file unlisted. Fixed (tst943)
246		Apr 04, 2016	* (reported by John Little) netrw normally
247				  suppresses browser messages, but sometimes
248				  those "messages" are what is wanted.
249				  See |g:netrw_suppress_gx_mesg|
250		Apr 06, 2016	* (reported by Carlos Pita) deleting a remote
251				  file was giving an error message.  Fixed.
252		Apr 08, 2016	* (Charles Cooper) had a problem with an
253				  undefined b:netrw_curdir.  He also provided
254				  a fix.
255		Apr 20, 2016	* Changed s:NetrwGetBuffer(); now uses
256				  dictionaries.  Also fixed the "No Name"
257				  buffer problem.
258	v155:	Oct 29, 2015	* (Timur Fayzrakhmanov) reported that netrw's
259				  mapping of ctrl-l was not allowing refresh of
260				  other windows when it was done in a netrw
261				  window.
262		Nov 05, 2015	* Improved s:TreeSqueezeDir() to use search()
263				  instead of a loop
264				* NetrwBrowse() will return line to
265				  w:netrw_bannercnt if cursor ended up in
266				  banner
267		Nov 16, 2015	* Added a <Plug>NetrwTreeSqueeze (|netrw-s-cr|)
268		Nov 17, 2015	* Commented out imaps -- perhaps someone can
269				  tell me how they're useful and should be
270				  retained?
271		Nov 20, 2015	* Added |netrw-ma| and |netrw-mA| support
272		Nov 20, 2015	* gx (|netrw-gx|) on a URL downloaded the
273				  file in addition to simply bringing up the
274				  URL in a browser.  Fixed.
275		Nov 23, 2015	* Added |g:netrw_sizestyle| support
276		Nov 27, 2015	* Inserted a lot of <c-u>s into various netrw
277				  maps.
278		Jan 05, 2016	* |netrw-qL| implemented to mark files based
279				  upon |location-list|s; similar to |netrw-qF|.
280		Jan 19, 2016	* using - call delete(directoryname,"d") -
281				  instead of using g:netrw_localrmdir if
282				  v7.4 + patch#1107 is available
283		Jan 28, 2016	* changed to using |winsaveview()| and
284				  |winrestview()|
285		Jan 28, 2016	* s:NetrwTreePath() now does a save and
286				  restore of view
287		Feb 08, 2016	* Fixed a tree-listing problem with remote
288				  directories
289	v154:	Feb 26, 2015	* (Yuri Kanivetsky) reported a situation where
290				  a file was not treated properly as a file
291				  due to g:netrw_keepdir == 1
292		Mar 25, 2015	* (requested by Ben Friz) one may now sort by
293				  extension
294		Mar 28, 2015	* (requested by Matt Brooks) netrw has a lot
295				  of buffer-local mappings; however, some
296				  plugins (such as vim-surround) set up
297				  conflicting mappings that cause vim to wait.
298				  The "<nowait>" modifier has been included
299				  with most of netrw's mappings to avoid that
300				  delay.
301		Jun 26, 2015	* |netrw-gn| mapping implemented
302				* :Ntree NotADir resulted in having
303				  the tree listing expand in the error messages
304				  window.  Fixed.
305		Jun 29, 2015	* Attempting to delete a file remotely caused
306				  an error with "keepsol" mentioned; fixed.
307		Jul 08, 2015	* Several changes to keep the |:jumps| table
308				  correct when working with
309				  |g:netrw_fastbrowse| set to 2
310				* wide listing with accented characters fixed
311				  (using %-S instead of %-s with a |printf()|
312		Jul 13, 2015	* (Daniel Hahler) CheckIfKde() could be true
313				  but kfmclient not installed.  Changed order
314				  in netrw#BrowseX(): checks if kde and
315				  kfmclient, then will use xdg-open on a unix
316				  system (if xdg-open is executable)
317		Aug 11, 2015	* (McDonnell) tree listing mode wouldn't
318				  select a file in a open subdirectory.
319				* (McDonnell) when multiple subdirectories
320				  were concurrently open in tree listing
321				  mode, a ctrl-L wouldn't refresh properly.
322				* The netrw:target menu showed duplicate
323				  entries
324		Oct 13, 2015	* (mattn) provided an exception to handle
325				  windows with shellslash set but no shell
326		Oct 23, 2015	* if g:netrw_usetab and <c-tab> now used
327				  to control whether NetrwShrink is used
328				  (see |netrw-c-tab|)
329	v153:	May 13, 2014	* added another |g:netrw_ffkeep| usage {{{2
330		May 14, 2014	* changed s:PerformListing() so that it
331				  always sets ft=netrw for netrw buffers
332				  (ie. even when syntax highlighting is
333				  off, not available, etc)
334		May 16, 2014	* introduced the |netrw-ctrl-r| functionality
335		May 17, 2014	* introduced the |netrw-:NetrwMB| functionality
336				* mb and mB (|netrw-mb|, |netrw-mB|) will
337				  add/remove marked files from bookmark list
338		May 20, 2014	* (Enno Nagel) reported that :Lex <dirname>
339				  wasn't working.  Fixed.
340		May 26, 2014	* restored test to prevent leftmouse window
341				  resizing from causing refresh.
342				  (see s:NetrwLeftmouse())
343				* fixed problem where a refresh caused cursor
344				  to go just under the banner instead of
345				  staying put
346		May 28, 2014	* (László Bimba) provided a patch for opening
347				  the |:Lexplore| window 100% high, optionally
348				  on the right, and will work with remote
349				  files.
350		May 29, 2014	* implemented :NetrwC  (see |netrw-:NetrwC|)
351		Jun 01, 2014	* Removed some "silent"s from commands used
352				  to implemented scp://... and pscp://...
353				  directory listing.  Permits request for
354				  password to appear.
355		Jun 05, 2014	* (Enno Nagel) reported that user maps "/"
356				  caused problems with "b" and "w", which
357				  are mapped (for wide listings only) to
358				  skip over files rather than just words.
359		Jun 10, 2014	* |g:netrw_gx| introduced to allow users to
360				  override default "<cfile>" with the gx
361				  (|netrw-gx|) map
362		Jun 11, 2014	* gx (|netrw-gx|), with |'autowrite'| set,
363				  will write modified files.  s:NetrwBrowseX()
364				  will now save, turn off, and restore the
365				  |'autowrite'| setting.
366		Jun 13, 2014	* added visual map for gx use
367		Jun 15, 2014	* (Enno Nagel) reported that with having hls
368				  set and wide listing style in use, that the
369				  b and w maps caused unwanted highlighting.
370		Jul 05, 2014	* |netrw-mv| and |netrw-mX| commands included
371		Jul 09, 2014	* |g:netrw_keepj| included, allowing optional
372				  keepj
373		Jul 09, 2014	* fixing bugs due to previous update
374		Jul 21, 2014	* (Bruno Sutic) provided an updated
375				  netrw_gitignore.vim
376		Jul 30, 2014	* (Yavuz Yetim) reported that editing two
377				  remote files of the same name caused the
378				  second instance to have a "temporary"
379				  name.  Fixed: now they use the same buffer.
380		Sep 18, 2014	* (Yasuhiro Matsumoto) provided a patch which
381				  allows scp and windows local paths to work.
382		Oct 07, 2014	* gx (see |netrw-gx|) when atop a directory,
383				  will now do |gf| instead
384		Nov 06, 2014	* For cygwin: cygstart will be available for
385				  netrw#BrowseX() to use if its executable.
386		Nov 07, 2014	* Began support for file://... urls.  Will use
387				  |g:netrw_file_cmd| (typically elinks or links)
388		Dec 02, 2014	* began work on having mc (|netrw-mc|) copy
389				  directories.  Works for linux machines,
390				  cygwin+vim, but not for windows+gvim.
391		Dec 02, 2014	* in tree mode, netrw was not opening
392				  directories via symbolic links.
393		Dec 02, 2014	* added resolved link information to
394				  thin and tree modes
395		Dec 30, 2014	* (issue#231) |:ls| was not showing
396				  remote-file buffers reliably.  Fixed.
397	v152:	Apr 08, 2014	* uses the |'noswapfile'| option (requires {{{2
398				  vim 7.4 with patch 213)
399				* (Enno Nagel) turn |'rnu'| off in netrw
400				  buffers.
401				* (Quinn Strahl) suggested that netrw
402				  allow regular window splitting to occur,
403				  thereby allowing |'equalalways'| to take
404				  effect.
405				* (qingtian zhao) normally, netrw will
406				  save and restore the |'fileformat'|;
407				  however, sometimes that isn't wanted
408		Apr 14, 2014	* whenever netrw marks a buffer as ro,
409				  it will also mark it as nomod.
410		Apr 16, 2014	* sftp protocol now supported by
411				  netrw#Obtain(); this means that one
412				  may use "mc" to copy a remote file
413				  to a local file using sftp, and that
414				  the |netrw-O| command can obtain remote
415				  files via sftp.
416				* added [count]C support (see |netrw-C|)
417		Apr 18, 2014	* when |g:netrw_chgwin| is one more than
418				  the last window, then vertically split
419				  the last window and use it as the
420				  chgwin window.
421		May 09, 2014	* SavePosn was "saving filename under cursor"
422				  from a non-netrw window when using :Rex.
423	v151:	Jan 22, 2014	* extended :Rexplore to return to buffer {{{2
424				  prior to Explore or editing a directory
425				* (Ken Takata) netrw gave error when
426				  clipboard was disabled.  Sol'n: Placed
427				  several if has("clipboard") tests in.
428				* Fixed ftp://X@Y@Z// problem; X@Y now
429				  part of user id, and only Z is part of
430				  hostname.
431				* (A Loumiotis) reported that completion
432				  using a directory name containing spaces
433				  did not work.  Fixed with a retry in
434				  netrw#Explore() which removes the
435				  backslashes vim inserted.
436		Feb 26, 2014	* :Rexplore now records the current file
437				   using w:netrw_rexfile when returning via
438				  |:Rexplore|
439		Mar 08, 2014	* (David Kotchan) provided some patches
440				  allowing netrw to work properly with
441				  windows shares.
442				* Multiple one-liner help messages available
443				  by pressing <cr> while atop the "Quick
444				  Help" line
445				* worked on ShellCmdPost, FocusGained event
446				  handling.
447				* |:Lexplore| path: will be used to update
448				  a left-side netrw browsing directory.
449		Mar 12, 2014	* |netrw-s-cr|: use <s-cr>  to close
450				  tree directory implemented
451		Mar 13, 2014	* (Tony Mechylynck) reported that using
452				  the browser with ftp on a directory,
453				  and selecting a gzipped txt file, that
454				  an E19 occurred (which was issued by
455				  gzip.vim).  Fixed.
456		Mar 14, 2014	* Implemented :MF and :MT (see |netrw-:MF|
457				  and |netrw-:MT|, respectively)
458		Mar 17, 2014	* |:Ntree| [dir] wasn't working properly; fixed
459		Mar 18, 2014	* Changed all uses of set to setl
460		Mar 18, 2014	* Commented the netrw_btkeep line in
461				  s:NetrwOptionSave(); the effect is that
462				  netrw buffers will remain as |'bt'|=nofile.
463				  This should prevent swapfiles being created
464				  for netrw buffers.
465		Mar 20, 2014	* Changed all uses of lcd to use s:NetrwLcd()
466				  instead.  Consistent error handling results
467				  and it also handles Window's shares
468				* Fixed |netrw-d| command when applied with ftp
469				* https: support included for netrw#NetRead()
470	v150:	Jul 12, 2013	* removed a "keepalt" to allow ":e #" to {{{2
471				  return to the netrw directory listing
472		Jul 13, 2013	* (Jonas Diemer) suggested changing
473				  a <cWORD> to <cfile>.
474		Jul 21, 2013	* (Yuri Kanivetsky) reported that netrw's
475				  use of mkdir did not produce directories
476				  following the user's umask.
477		Aug 27, 2013	* introduced |g:netrw_altfile| option
478		Sep 05, 2013	* s:Strlen() now uses |strdisplaywidth()|
479				  when available, by default
480		Sep 12, 2013	* (Selyano Baldo) reported that netrw wasn't
481				  opening some directories properly from the
482				  command line.
483		Nov 09, 2013	* |:Lexplore| introduced
484				* (Ondrej Platek) reported an issue with
485				  netrw's trees (P15).  Fixed.
486				* (Jorge Solis) reported that "t" in
487				  tree mode caused netrw to forget its
488				  line position.
489		Dec 05, 2013	* Added <s-leftmouse> file marking
490				  (see |netrw-mf|)
491		Dec 05, 2013	* (Yasuhiro Matsumoto) Explore should use
492				  strlen() instead s:Strlen() when handling
493				  multibyte chars with strpart()
494				  (ie. strpart() is byte oriented, not
495				  display-width oriented).
496		Dec 09, 2013	* (Ken Takata) Provided a patch; File sizes
497				  and a portion of timestamps were wrongly
498				  highlighted with the directory color when
499				  setting `:let g:netrw_liststyle=1` on Windows.
500				* (Paul Domaskis) noted that sometimes
501				  cursorline was activating in non-netrw
502				  windows.  All but one setting of cursorline
503				  was done via setl; there was one that was
504				  overlooked.  Fixed.
505		Dec 24, 2013	* (esquifit) asked that netrw allow the
506				  /cygdrive prefix be a user-alterable
507				  parameter.
508		Jan 02, 2014	* Fixed a problem with netrw-based ballon
509				  evaluation (ie. netrw#NetrwBaloonHelp()
510				  not having been loaded error messages)
511		Jan 03, 2014	* Fixed a problem with tree listings
512				* New command installed: |:Ntree|
513		Jan 06, 2014	* (Ivan Brennan) reported a problem with
514				  |netrw-P|.  Fixed.
515		Jan 06, 2014	* Fixed a problem with |netrw-P| when the
516				  modified file was to be abandoned.
517		Jan 15, 2014	* (Matteo Cavalleri) reported that when the
518				  banner is suppressed and tree listing is
519				  used, a blank line was left at the top of
520				  the display.  Fixed.
521		Jan 20, 2014	* (Gideon Go) reported that, in tree listing
522				  style, with a previous window open, that
523				  the wrong directory was being used to open
524				  a file.  Fixed. (P21)
525	v149:	Apr 18, 2013	* in wide listing format, now have maps for {{{2
526				  w and b to move to next/previous file
527		Apr 26, 2013	* one may now copy files in the same
528				  directory; netrw will issue requests for
529				  what names the files should be copied under
530		Apr 29, 2013	* Trying Benzinger's problem again.  Seems
531				  that commenting out the BufEnter and
532				  installing VimEnter (only) works.  Weird
533				  problem!  (tree listing, vim -O Dir1 Dir2)
534		May 01, 2013	* :Explore ftp://... wasn't working.  Fixed.
535		May 02, 2013	* introduced |g:netrw_bannerbackslash| as
536				  requested by Paul Domaskis.
537		Jul 03, 2013	* Explore now avoids splitting when a buffer
538				  will be hidden.
539	v148:	Apr 16, 2013	* changed Netrw's Style menu to allow direct {{{2
540				  choice of listing style, hiding style, and
541				  sorting style
542```
543
544[1]: https://github.com/vim/vim