be restored to its prior state.
*g:netrw_compress* ="gzip"
Will compress marked files with this
command
*g:Netrw_corehandler* Allows one to specify something additional
to do when handling <core> files via netrw's
browser's "x" command. If present,
g:Netrw_corehandler specifies either one or
more function references (see |Funcref|).
(the capital g:Netrw... is required its
holding a function reference)
*g:netrw_ctags* ="ctags"
The default external program used to create
tags
*g:netrw_cursor* = 2 (default)
This option controls the use of the
|'cursorline'| (cul) and |'cursorcolumn'|
(cuc) settings by netrw:
Value Thin-Long-Tree Wide
=0 u-cul u-cuc u-cul u-cuc
=1 u-cul u-cuc cul u-cuc
=2 cul u-cuc cul u-cuc
=3 cul u-cuc cul cuc
=4 cul cuc cul cuc
=5 U-cul U-cuc U-cul U-cuc
=6 U-cul U-cuc cul U-cuc
=7 cul U-cuc cul U-cuc
=8 cul U-cuc cul cuc
Where
u-cul : user's |'cursorline'| initial setting used
u-cuc : user's |'cursorcolumn'| initial setting used
U-cul : user's |'cursorline'| current setting used
U-cuc : user's |'cursorcolumn'| current setting used
cul : |'cursorline'| will be locally set
cuc : |'cursorcolumn'| will be locally set
The "initial setting" means the values of
the |'cuc'| and |'cul'| settings in effect when
netrw last saw |g:netrw_cursor| >= 5 or when
netrw was initially run.
*g:netrw_decompress* = { ".lz4": "lz4 -d",
".lzo": "lzop -d",
".lz": "lzip -dk",
".7z": "7za x",
".001": "7za x",
".tar.bz": "tar -xvjf",
".tar.bz2": "tar -xvjf",
".tbz": "tar -xvjf",
".tbz2": "tar -xvjf",
".tar.gz": "tar -xvzf",
".tgz": "tar -xvzf",
".tar.zst": "tar --use-compress-program=unzstd -xvf",
".tzst": "tar --use-compress-program=unzstd -xvf",
".tar": "tar -xvf",
".zip": "unzip",
".bz": "bunzip2 -k",
".bz2": "bunzip2 -k",
".gz": "gunzip -k",
".lzma": "unlzma -T0 -k",
".xz": "unxz -T0 -k",
".zst": "zstd -T0 -d",
".Z": "uncompress -k",
".rar": "unrar x -ad",
".tar.lzma": "tar --lzma -xvf",
".tlz": "tar --lzma -xvf",
".tar.xz": "tar -xvJf",
".txz": "tar -xvJf"}
A dictionary mapping suffices to
decompression programs.
*g:netrw_dirhistmax* =10: controls maximum quantity of past
history. May be zero to suppress
history.
(related: |netrw-qb| |netrw-u| |netrw-U|)
*g:netrw_dynamic_maxfilenamelen* =32: enables dynamic determination of
|g:netrw_maxfilenamelen|, which affects
local file long listing.
*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.
=1: medium speed directory browsing;
re-use directory listings only
when remote directory browsing.
(default value)
=2: fast directory browsing;
only obtains directory listings when the
directory hasn't been seen before
(or |netrw-ctrl-l| is used).
Fast browsing retains old directory listing
buffers so that they don't need to be
re-acquired. This feature is especially
important for remote browsing. However, if
a file is introduced or deleted into or from
such directories, the old directory buffer
becomes out-of-date. One may always refresh
such a directory listing with |netrw-ctrl-l|.
This option gives