Mercurial > vim
comparison runtime/doc/pi_netrw.txt @ 8148:f5da459c5698
commit https://github.com/vim/vim/commit/e0fa3742ead676a3074a10edadbc955e1a89153d
Author: Bram Moolenaar <Bram@vim.org>
Date: Sat Feb 20 15:47:01 2016 +0100
Updated runtime files.
author | Christian Brabandt <cb@256bit.org> |
---|---|
date | Sat, 20 Feb 2016 16:00:06 +0100 |
parents | 3ba0f29ba1d1 |
children | 0bdeaf7092bc |
comparison
equal
deleted
inserted
replaced
8147:da6300d5a13b | 8148:f5da459c5698 |
---|---|
1 *pi_netrw.txt* For Vim version 7.4. Last change: 2015 Oct 31 | 1 *pi_netrw.txt* For Vim version 7.4. Last change: 2016 Feb 16 |
2 | 2 |
3 ------------------------------------------------ | 3 ------------------------------------------------ |
4 NETRW REFERENCE MANUAL by Charles E. Campbell | 4 NETRW REFERENCE MANUAL by Charles E. Campbell |
5 ------------------------------------------------ | 5 ------------------------------------------------ |
6 Author: Charles E. Campbell <NdrOchip@ScampbellPfamily.AbizM> | 6 Author: Charles E. Campbell <NdrOchip@ScampbellPfamily.AbizM> |
7 (remove NOSPAM from Campbell's email first) | 7 (remove NOSPAM from Campbell's email first) |
8 | 8 |
9 Copyright: Copyright (C) 1999-2015 Charles E Campbell *netrw-copyright* | 9 Copyright: Copyright (C) 2016 Charles E Campbell *netrw-copyright* |
10 The VIM LICENSE applies to the files in this package, including | 10 The VIM LICENSE applies to the files in this package, including |
11 netrw.vim, pi_netrw.txt, netrwFileHandlers.vim, netrwSettings.vim, and | 11 netrw.vim, pi_netrw.txt, netrwFileHandlers.vim, netrwSettings.vim, and |
12 syntax/netrw.vim. Like anything else that's free, netrw.vim and its | 12 syntax/netrw.vim. Like anything else that's free, netrw.vim and its |
13 associated files are provided *as is* and comes with no warranty of | 13 associated files are provided *as is* and comes with no warranty of |
14 any kind, either expressed or implied. No guarantees of | 14 any kind, either expressed or implied. No guarantees of |
46 8. Variables and Options.................................|netrw-variables| | 46 8. Variables and Options.................................|netrw-variables| |
47 9. Browsing..............................................|netrw-browse| | 47 9. Browsing..............................................|netrw-browse| |
48 Introduction To Browsing............................|netrw-intro-browse| | 48 Introduction To Browsing............................|netrw-intro-browse| |
49 Quick Reference: Maps...............................|netrw-browse-maps| | 49 Quick Reference: Maps...............................|netrw-browse-maps| |
50 Quick Reference: Commands...........................|netrw-browse-cmds| | 50 Quick Reference: Commands...........................|netrw-browse-cmds| |
51 Banner Display......................................|netrw-I| | |
51 Bookmarking A Directory.............................|netrw-mb| | 52 Bookmarking A Directory.............................|netrw-mb| |
52 Browsing............................................|netrw-cr| | 53 Browsing............................................|netrw-cr| |
53 Squeezing the Current Tree-Listing Directory......|:netrw-s-cr| | 54 Squeezing the Current Tree-Listing Directory........|netrw-s-cr| |
54 Browsing With A Horizontally Split Window...........|netrw-o| | 55 Browsing With A Horizontally Split Window...........|netrw-o| |
55 Browsing With A New Tab.............................|netrw-t| | 56 Browsing With A New Tab.............................|netrw-t| |
56 Browsing With A Vertically Split Window.............|netrw-v| | 57 Browsing With A Vertically Split Window.............|netrw-v| |
57 Change Listing Style.(thin wide long tree)..........|netrw-i| | 58 Change Listing Style.(thin wide long tree)..........|netrw-i| |
58 Changing To A Bookmarked Directory..................|netrw-gb| | 59 Changing To A Bookmarked Directory..................|netrw-gb| |
73 Listing Bookmarks And History.......................|netrw-qb| | 74 Listing Bookmarks And History.......................|netrw-qb| |
74 Making A New Directory..............................|netrw-d| | 75 Making A New Directory..............................|netrw-d| |
75 Making The Browsing Directory The Current Directory.|netrw-c| | 76 Making The Browsing Directory The Current Directory.|netrw-c| |
76 Marking Files.......................................|netrw-mf| | 77 Marking Files.......................................|netrw-mf| |
77 Unmarking Files.....................................|netrw-mF| | 78 Unmarking Files.....................................|netrw-mF| |
79 Marking Files By Location List......................|netrw-qL| | |
78 Marking Files By QuickFix List......................|netrw-qF| | 80 Marking Files By QuickFix List......................|netrw-qF| |
79 Marking Files By Regular Expression.................|netrw-mr| | 81 Marking Files By Regular Expression.................|netrw-mr| |
80 Marked Files: Arbitrary Shell Command...............|netrw-mx| | 82 Marked Files: Arbitrary Shell Command...............|netrw-mx| |
81 Marked Files: Arbitrary Shell Command, En Bloc......|netrw-mX| | 83 Marked Files: Arbitrary Shell Command, En Bloc......|netrw-mX| |
82 Marked Files: Arbitrary Vim Command.................|netrw-mv| | 84 Marked Files: Arbitrary Vim Command.................|netrw-mv| |
85 Marked Files: Argument List.........................|netrw-ma| |netrw-mA| | |
83 Marked Files: Compression And Decompression.........|netrw-mz| | 86 Marked Files: Compression And Decompression.........|netrw-mz| |
84 Marked Files: Copying...............................|netrw-mc| | 87 Marked Files: Copying...............................|netrw-mc| |
85 Marked Files: Diff..................................|netrw-md| | 88 Marked Files: Diff..................................|netrw-md| |
86 Marked Files: Editing...............................|netrw-me| | 89 Marked Files: Editing...............................|netrw-me| |
87 Marked Files: Grep..................................|netrw-mg| | 90 Marked Files: Grep..................................|netrw-mg| |
1111 p Preview the file |netrw-p| | 1114 p Preview the file |netrw-p| |
1112 P Browse in the previously used window |netrw-P| | 1115 P Browse in the previously used window |netrw-P| |
1113 qb List bookmarked directories and history |netrw-qb| | 1116 qb List bookmarked directories and history |netrw-qb| |
1114 qf Display information on file |netrw-qf| | 1117 qf Display information on file |netrw-qf| |
1115 qF Mark files using a quickfix list |netrw-qF| | 1118 qF Mark files using a quickfix list |netrw-qF| |
1119 qL Mark files using a |location-list| |netrw-qL| | |
1116 r Reverse sorting order |netrw-r| | 1120 r Reverse sorting order |netrw-r| |
1117 R Rename the designated file(s)/directory(ies) |netrw-R| | 1121 R Rename the designated file(s)/directory(ies) |netrw-R| |
1118 s Select sorting style: by name, time, or file size |netrw-s| | 1122 s Select sorting style: by name, time, or file size |netrw-s| |
1119 S Specify suffix priority for name-sorting |netrw-S| | 1123 S Specify suffix priority for name-sorting |netrw-S| |
1120 t Enter the file/directory under the cursor in a new tab|netrw-t| | 1124 t Enter the file/directory under the cursor in a new tab|netrw-t| |
1160 :Rexplore Return to Explorer.....................|netrw-explore| | 1164 :Rexplore Return to Explorer.....................|netrw-explore| |
1161 :Sexplore[!] [dir] Split & Explore directory .............|netrw-explore| | 1165 :Sexplore[!] [dir] Split & Explore directory .............|netrw-explore| |
1162 :Texplore[!] [dir] Tab & Explore..........................|netrw-explore| | 1166 :Texplore[!] [dir] Tab & Explore..........................|netrw-explore| |
1163 :Vexplore[!] [dir] Vertical Split & Explore...............|netrw-explore| | 1167 :Vexplore[!] [dir] Vertical Split & Explore...............|netrw-explore| |
1164 | 1168 |
1169 | |
1170 BANNER DISPLAY *netrw-I* | |
1171 | |
1172 One may toggle the banner display on and off by pressing "I". | |
1173 | |
1174 Also See: |g:netrw_banner| | |
1175 | |
1176 | |
1165 BOOKMARKING A DIRECTORY *netrw-mb* *netrw-bookmark* *netrw-bookmarks* {{{2 | 1177 BOOKMARKING A DIRECTORY *netrw-mb* *netrw-bookmark* *netrw-bookmarks* {{{2 |
1166 | 1178 |
1167 One may easily "bookmark" the currently browsed directory by using > | 1179 One may easily "bookmark" the currently browsed directory by using > |
1168 | 1180 |
1169 mb | 1181 mb |
1201 |netrw-mB| how to delete bookmarks | 1213 |netrw-mB| how to delete bookmarks |
1202 |netrw-qb| how to list bookmarks | 1214 |netrw-qb| how to list bookmarks |
1203 |g:netrw_home| controls where .netrwbook is kept | 1215 |g:netrw_home| controls where .netrwbook is kept |
1204 | 1216 |
1205 | 1217 |
1206 BROWSING *netrw-cr* {{{2 | 1218 BROWSING *netrw-enter* *netrw-cr* {{{2 |
1207 | 1219 |
1208 Browsing is simple: move the cursor onto a file or directory of interest. | 1220 Browsing is simple: move the cursor onto a file or directory of interest. |
1209 Hitting the <cr> (the return key) will select the file or directory. | 1221 Hitting the <cr> (the return key) will select the file or directory. |
1210 Directories will themselves be listed, and files will be opened using the | 1222 Directories will themselves be listed, and files will be opened using the |
1211 protocol given in the original read request. | 1223 protocol given in the original read request. |
1242 and fast browsing (re-use directory buffer listings as often as possible). | 1254 and fast browsing (re-use directory buffer listings as often as possible). |
1243 The price for such re-use is that when changes are made (such as new files | 1255 The price for such re-use is that when changes are made (such as new files |
1244 are introduced into a directory), the listing may become out-of-date. One may | 1256 are introduced into a directory), the listing may become out-of-date. One may |
1245 always refresh directory listing buffers by pressing ctrl-L (see | 1257 always refresh directory listing buffers by pressing ctrl-L (see |
1246 |netrw-ctrl-l|). | 1258 |netrw-ctrl-l|). |
1247 *:netrw-s-cr* | 1259 |
1248 Squeezing the Current Tree-Listing Directory~ | 1260 *netrw-s-cr* |
1249 When the tree listing style is enabled (see |netrw-i|) and one is using | 1261 Squeezing the Current Tree-Listing Directory~ |
1250 gvim, then the <s-cr> mapping may be used to squeeze (close) the | 1262 |
1251 directory currently containing the cursor. | 1263 When the tree listing style is enabled (see |netrw-i|) and one is using |
1264 gvim, then the <s-cr> mapping may be used to squeeze (close) the | |
1265 directory currently containing the cursor. | |
1266 | |
1267 Otherwise, one may remap a key combination of one's own choice to get | |
1268 this effect: > | |
1269 | |
1270 nmap <buffer> <silent> <nowait> YOURKEYCOMBO <Plug>NetrwTreeSqueeze | |
1271 < | |
1272 Put this line in $HOME/ftplugin/netrw/netrw.vim; it needs to be generated | |
1273 for netrw buffers only. | |
1252 | 1274 |
1253 Related topics: | 1275 Related topics: |
1254 |netrw-ctrl-r| |netrw-o| |netrw-p| | 1276 |netrw-ctrl-r| |netrw-o| |netrw-p| |
1255 |netrw-P| |netrw-t| |netrw-v| | 1277 |netrw-P| |netrw-t| |netrw-v| |
1256 Associated setting variables: | 1278 Associated setting variables: |
1495 will apply a special handler to it (like "x" works when in a netrw buffer). | 1517 will apply a special handler to it (like "x" works when in a netrw buffer). |
1496 One may also use visual mode (see |visual-start|) to select the text that the | 1518 One may also use visual mode (see |visual-start|) to select the text that the |
1497 special handler will use. Normally gx uses expand("<cfile>") to pick up the | 1519 special handler will use. Normally gx uses expand("<cfile>") to pick up the |
1498 text under the cursor; one may change what |expand()| uses via the | 1520 text under the cursor; one may change what |expand()| uses via the |
1499 |g:netrw_gx| variable. Alternatively, one may select the text to be used by | 1521 |g:netrw_gx| variable. Alternatively, one may select the text to be used by |
1500 gx via first making a visual selection (see |visual-block|). | 1522 gx via first making a visual selection (see |visual-block|) or by changing |
1523 the |'isfname'| option (which is global, so netrw doesn't modify it). | |
1501 | 1524 |
1502 Associated setting variables: | 1525 Associated setting variables: |
1503 |g:netrw_gx| control how gx picks up the text under the cursor | 1526 |g:netrw_gx| control how gx picks up the text under the cursor |
1504 |g:netrw_nogx| prevent gx map while editing | 1527 |g:netrw_nogx| prevent gx map while editing |
1505 | 1528 |
1713 | 1736 |
1714 *netrw-star* *netrw-starpat* *netrw-starstar* *netrw-starstarpat* *netrw-grep* | 1737 *netrw-star* *netrw-starpat* *netrw-starstar* *netrw-starstarpat* *netrw-grep* |
1715 EXPLORING WITH STARS AND PATTERNS {{{2 | 1738 EXPLORING WITH STARS AND PATTERNS {{{2 |
1716 | 1739 |
1717 When Explore, Sexplore, Hexplore, or Vexplore are used with one of the | 1740 When Explore, Sexplore, Hexplore, or Vexplore are used with one of the |
1718 following four patterns Explore generates a list of files which satisfy | 1741 following four patterns Explore generates a list of files which satisfy the |
1719 the request. > | 1742 request for the local file system. These exploration patterns will not work |
1743 with remote file browsing. | |
1720 | 1744 |
1721 */filepat files in current directory which satisfy filepat | 1745 */filepat files in current directory which satisfy filepat |
1722 **/filepat files in current directory or below which satisfy the | 1746 **/filepat files in current directory or below which satisfy the |
1723 file pattern | 1747 file pattern |
1724 *//pattern files in the current directory which contain the | 1748 *//pattern files in the current directory which contain the |
2079 files (for local directories, the list may include | 2103 files (for local directories, the list may include |
2080 wildcards -- see |glob()|) > | 2104 wildcards -- see |glob()|) > |
2081 | 2105 |
2082 :MF *.c | 2106 :MF *.c |
2083 < | 2107 < |
2084 * Note that :MF uses |<f-args>| to break the line | 2108 (Note that :MF uses |<f-args>| to break the line |
2085 at spaces. | 2109 at spaces) |
2110 | |
2111 * Mark files using the |argument-list| (|netrw-mA|) | |
2112 | |
2113 * Mark files based upon a |location-list| (|netrw-qL|) | |
2086 | 2114 |
2087 * Mark files based upon the quickfix list (|netrw-qF|) | 2115 * Mark files based upon the quickfix list (|netrw-qF|) |
2116 (|quickfix-error-lists|) | |
2088 | 2117 |
2089 The following netrw maps make use of marked files: | 2118 The following netrw maps make use of marked files: |
2090 | 2119 |
2091 |netrw-a| Hide marked files/directories | 2120 |netrw-a| Hide marked files/directories |
2092 |netrw-D| Delete marked files/directories | 2121 |netrw-D| Delete marked files/directories |
2122 |netrw-ma| Move marked files' names to |arglist| | |
2123 |netrw-mA| Move |arglist| filenames to marked file list | |
2093 |netrw-mb| Append marked files to bookmarks | 2124 |netrw-mb| Append marked files to bookmarks |
2094 |netrw-mB| Delete marked files from bookmarks | 2125 |netrw-mB| Delete marked files from bookmarks |
2095 |netrw-mc| Copy marked files to target | 2126 |netrw-mc| Copy marked files to target |
2096 |netrw-md| Apply vimdiff to marked files | 2127 |netrw-md| Apply vimdiff to marked files |
2097 |netrw-me| Edit marked files | 2128 |netrw-me| Edit marked files |
2146 (also see |netrw-mf|, |netrw-mu|) | 2177 (also see |netrw-mf|, |netrw-mu|) |
2147 | 2178 |
2148 The "mF" command will unmark all files in the current buffer. One may also use | 2179 The "mF" command will unmark all files in the current buffer. One may also use |
2149 mf (|netrw-mf|) on a specific, already marked, file to unmark just that file. | 2180 mf (|netrw-mf|) on a specific, already marked, file to unmark just that file. |
2150 | 2181 |
2151 | 2182 MARKING FILES BY LOCATION LIST *netrw-qL* {{{2 |
2152 MARKING FILES BY QUICKFIX LIST *netrw-qF* {{{2 | 2183 (also see |netrw-mf|) |
2184 | |
2185 One may convert |location-list|s into a marked file list using "qL". | |
2186 You may then proceed with commands such as me (|netrw-me|) to edit them. | |
2187 | |
2188 | |
2189 MARKING FILES BY QUICKFIX LIST *netrw-qF* {{{2 | |
2153 (also see |netrw-mf|) | 2190 (also see |netrw-mf|) |
2154 | 2191 |
2155 One may convert |quickfix-error-lists| into a marked file list using "qF". | 2192 One may convert |quickfix-error-lists| into a marked file list using "qF". |
2156 You may then proceed with commands such as me (|netrw-me|) to edit them. | 2193 You may then proceed with commands such as me (|netrw-me|) to edit them. |
2157 Quickfix error lists are generated, for example, by calls to |:vimgrep|. | 2194 Quickfix error lists are generated, for example, by calls to |:vimgrep|. |
2223 The command that will be run with this example: | 2260 The command that will be run with this example: |
2224 | 2261 |
2225 tar cf mynewtarball.tar 'file1' 'file2' ... | 2262 tar cf mynewtarball.tar 'file1' 'file2' ... |
2226 | 2263 |
2227 | 2264 |
2265 MARKED FILES: ARGUMENT LIST *netrw-ma* *netrw-mA* | |
2266 (See |netrw-mf| and |netrw-mr| for how to mark files) | |
2267 (uses the global marked-file list) | |
2268 | |
2269 Using ma, one moves filenames from the marked file list to the argument list. | |
2270 Using mA, one moves filenames from the argument list to the marked file list. | |
2271 | |
2272 See Also: |netrw-qF| |argument-list| |:args| | |
2273 | |
2274 | |
2228 MARKED FILES: COMPRESSION AND DECOMPRESSION *netrw-mz* {{{2 | 2275 MARKED FILES: COMPRESSION AND DECOMPRESSION *netrw-mz* {{{2 |
2229 (See |netrw-mf| and |netrw-mr| for how to mark files) | 2276 (See |netrw-mf| and |netrw-mr| for how to mark files) |
2230 (uses the local marked file list) | 2277 (uses the local marked file list) |
2231 | 2278 |
2232 If any marked files are compressed, then "mz" will decompress them. | 2279 If any marked files are compressed, then "mz" will decompress them. |
2233 If any marked files are decompressed, then "mz" will compress them | 2280 If any marked files are decompressed, then "mz" will compress them |
2234 using the command specified by |g:netrw_compress|; by default, | 2281 using the command specified by |g:netrw_compress|; by default, |
2235 that's "gzip". | 2282 that's "gzip". |
2236 | 2283 |
2237 For decompression, netrw provides a |Dictionary| of suffices and their | 2284 For decompression, netrw uses a |Dictionary| of suffices and their |
2238 associated decompressing utilities; see |g:netrw_decompress|. | 2285 associated decompressing utilities; see |g:netrw_decompress|. |
2239 | 2286 |
2240 Remember that one can mark multiple files by regular expression | 2287 Remember that one can mark multiple files by regular expression |
2241 (see |netrw-mr|); this is particularly useful to facilitate compressing and | 2288 (see |netrw-mr|); this is particularly useful to facilitate compressing and |
2242 decompressing a large number of files. | 2289 decompressing a large number of files. |
2287 /pattern/[g][j] | 2334 /pattern/[g][j] |
2288 ! /pattern/[g][j] | 2335 ! /pattern/[g][j] |
2289 pattern | 2336 pattern |
2290 < | 2337 < |
2291 With /pattern/, editing will start with the first item on the |quickfix| list | 2338 With /pattern/, editing will start with the first item on the |quickfix| list |
2292 that vimgrep sets up (see |:copen|, |:cnext|, |:cprevious|). The |:vimgrep| | 2339 that vimgrep sets up (see |:copen|, |:cnext|, |:cprevious|, |:cclose|). The |:vimgrep| |
2293 command is in use, so without 'g' each line is added to quickfix list only | 2340 command is in use, so without 'g' each line is added to quickfix list only |
2294 once; with 'g' every match is included. | 2341 once; with 'g' every match is included. |
2295 | 2342 |
2296 With /pattern/j, "mg" will winnow the current marked file list to just those | 2343 With /pattern/j, "mg" will winnow the current marked file list to just those |
2297 marked files also possessing the specified pattern. Thus, one may use > | 2344 marked files also possessing the specified pattern. Thus, one may use > |
2756 *g:netrw_nobeval* doesn't exist (default) | 2803 *g:netrw_nobeval* doesn't exist (default) |
2757 If this variable exists, then balloon | 2804 If this variable exists, then balloon |
2758 evaluation will be suppressed | 2805 evaluation will be suppressed |
2759 (see |'ballooneval'|) | 2806 (see |'ballooneval'|) |
2760 | 2807 |
2808 *g:netrw_sizestyle* not defined: actual bytes (default) | |
2809 ="b" : actual bytes (default) | |
2810 ="h" : human-readable (ex. 5k, 4m, 3g) | |
2811 uses 1000 base | |
2812 ="H" : human-readable (ex. 5K, 4M, 3G) | |
2813 uses 1024 base | |
2814 The long listing (|netrw-i|) and query-file | |
2815 maps (|netrw-qf|) will display file size | |
2816 using the specified style. | |
2817 | |
2761 *g:netrw_usetab* if this variable exists and is non-zero, then | 2818 *g:netrw_usetab* if this variable exists and is non-zero, then |
2762 the <tab> map supporting shrinking/expanding a | 2819 the <tab> map supporting shrinking/expanding a |
2763 Lexplore or netrw window will be enabled. | 2820 Lexplore or netrw window will be enabled. |
2764 (see |netrw-c-tab|) | 2821 (see |netrw-c-tab|) |
2765 | 2822 |
3024 is used for the preview window. | 3081 is used for the preview window. |
3025 | 3082 |
3026 Related: if you like this idea, you may also find :Lexplore | 3083 Related: if you like this idea, you may also find :Lexplore |
3027 (|netrw-:Lexplore|) or |g:netrw_chgwin| of interest | 3084 (|netrw-:Lexplore|) or |g:netrw_chgwin| of interest |
3028 | 3085 |
3029 Also see: |g:netrw_chgwin| |netrw-P| |'previewwindow'| | 3086 Also see: |g:netrw_chgwin| |netrw-P| |'previewwindow'| |CTRL-W_z| |:pclose| |
3030 | 3087 |
3031 | 3088 |
3032 PREVIOUS WINDOW *netrw-P* *netrw-prvwin* {{{2 | 3089 PREVIOUS WINDOW *netrw-P* *netrw-prvwin* {{{2 |
3033 | 3090 |
3034 To edit a file or directory in the previously used (last accessed) window (see | 3091 To edit a file or directory under the cursor in the previously used (last |
3035 :he |CTRL-W_p|), press a "P". If there's only one window, then the one window | 3092 accessed) window (see :he |CTRL-W_p|), press a "P". If there's only one |
3036 will be horizontally split (by default). | 3093 window, then the one window will be horizontally split (by default). |
3037 | 3094 |
3038 If there's more than one window, the previous window will be re-used on | 3095 If there's more than one window, the previous window will be re-used on |
3039 the selected file/directory. If the previous window's associated buffer | 3096 the selected file/directory. If the previous window's associated buffer |
3040 has been modified, and there's only one window with that buffer, then | 3097 has been modified, and there's only one window with that buffer, then |
3041 the user will be asked if s/he wishes to save the buffer first (yes, | 3098 the user will be asked if s/he wishes to save the buffer first (yes, |
3170 its width | 3227 its width |
3171 | 3228 |
3172 * Else bring up a |:Lexplore| window | 3229 * Else bring up a |:Lexplore| window |
3173 | 3230 |
3174 If |g:netrw_usetab| exists or is zero, or if there is a pre-existing mapping | 3231 If |g:netrw_usetab| exists or is zero, or if there is a pre-existing mapping |
3175 for <c-tab>, then the <tab> will not be mapped. One may map something other | 3232 for <c-tab>, then the <c-tab> will not be mapped. One may map something other |
3176 than a <c-tab>, too: (but you'll still need to have had g:netrw_usetab set) > | 3233 than a <c-tab>, too: (but you'll still need to have had g:netrw_usetab set) > |
3177 | 3234 |
3178 nmap <unique> (whatever) <Plug>NetrwShrink | 3235 nmap <unique> (whatever) <Plug>NetrwShrink |
3179 < | 3236 < |
3180 Related topics: |:Lexplore| | 3237 Related topics: |:Lexplore| |
3637 set nocp | 3694 set nocp |
3638 so $HOME/.vim/plugin/netrwPlugin.vim | 3695 so $HOME/.vim/plugin/netrwPlugin.vim |
3639 < | 3696 < |
3640 Then run netrw as follows: > | 3697 Then run netrw as follows: > |
3641 | 3698 |
3642 vim -u netrw.vimrc --noplugins [some path here] | 3699 vim -u netrw.vimrc --noplugins -i NONE [some path here] |
3643 < | 3700 < |
3644 Perform whatever netrw commands you need to, and check that the problem is | 3701 Perform whatever netrw commands you need to, and check that the problem is |
3645 still present. This procedure sidesteps any issues due to personal .vimrc | 3702 still present. This procedure sidesteps any issues due to personal .vimrc |
3646 settings and other plugins. If the problem does not appear, then you need | 3703 settings, .viminfo file, and other plugins. If the problem does not appear, |
3647 to determine what setting in your .vimrc is causing the conflict with netrw | 3704 then you need to determine which setting in your .vimrc is causing the |
3648 or which plugin. | 3705 conflict with netrw or which plugin(s) is/are involved. |
3649 | 3706 |
3650 Step 3: If the problem still is present, then get a debugging trace from | 3707 Step 3: If the problem still is present, then get a debugging trace from |
3651 netrw: | 3708 netrw: |
3652 | 3709 |
3653 1. Get the <Decho.vim> script, available as: | 3710 1. Get the <Decho.vim> script, available as: |
3698 NdrOchip at ScampbellPfamily.AbizM - NOSPAM | 3755 NdrOchip at ScampbellPfamily.AbizM - NOSPAM |
3699 < | 3756 < |
3700 ============================================================================== | 3757 ============================================================================== |
3701 12. History *netrw-history* {{{1 | 3758 12. History *netrw-history* {{{1 |
3702 | 3759 |
3760 v155: Oct 29, 2015 * (Timur Fayzrakhmanov) reported that netrw's | |
3761 mapping of ctrl-l was not allowing refresh of | |
3762 other windows when it was done in a netrw | |
3763 window. | |
3764 Nov 05, 2015 * Improved s:TreeSqueezeDir() to use search() | |
3765 instead of a loop | |
3766 * NetrwBrowse() will return line to | |
3767 w:netrw_bannercnt if cursor ended up in | |
3768 banner | |
3769 Nov 16, 2015 * Added a <Plug>NetrwTreeSqueeze (|netrw-s-cr|) | |
3770 Nov 17, 2015 * Commented out imaps -- perhaps someone can | |
3771 tell me how they're useful and should be | |
3772 retained? | |
3773 Nov 20, 2015 * Added |netrw-ma| and |netrw-mA| support | |
3774 Nov 20, 2015 * gx (|netrw-gx|) on an url downloaded the | |
3775 file in addition to simply bringing up the | |
3776 url in a browser. Fixed. | |
3777 Nov 23, 2015 * Added |g:netrw_sizestyle| support | |
3778 Nov 27, 2015 * Inserted a lot of <c-u>s into various netrw | |
3779 maps. | |
3780 Jan 05, 2016 * |netrw-qL| implemented to mark files based | |
3781 upon |location-list|s; similar to |netrw-qF|. | |
3782 Jan 19, 2016 * using - call delete(directoryname,"d") - | |
3783 instead of using g:netrw_localrmdir if | |
3784 v7.4 + patch#1107 is available | |
3785 Jan 28, 2016 * changed to using |winsaveview()| and | |
3786 |winrestview()| | |
3787 Jan 28, 2016 * s:NetrwTreePath() now does a save and | |
3788 restore of view | |
3789 Feb 08, 2016 * Fixed a tree-listing problem with remote | |
3790 directories | |
3703 v154: Feb 26, 2015 * (Yuri Kanivetsky) reported a situation where | 3791 v154: Feb 26, 2015 * (Yuri Kanivetsky) reported a situation where |
3704 a file was not treated properly as a file | 3792 a file was not treated properly as a file |
3705 due to g:netrw_keepdir == 1 | 3793 due to g:netrw_keepdir == 1 |
3706 Mar 25, 2015 * (requested by Ben Friz) one may now sort by | 3794 Mar 25, 2015 * (requested by Ben Friz) one may now sort by |
3707 extension | 3795 extension |
3858 Help" line | 3946 Help" line |
3859 * worked on ShellCmdPost, FocusGained event | 3947 * worked on ShellCmdPost, FocusGained event |
3860 handling. | 3948 handling. |
3861 * |:Lexplore| path: will be used to update | 3949 * |:Lexplore| path: will be used to update |
3862 a left-side netrw browsing directory. | 3950 a left-side netrw browsing directory. |
3863 Mar 12, 2014 * |:netrw-s-cr|: use <s-cr> to close | 3951 Mar 12, 2014 * |netrw-s-cr|: use <s-cr> to close |
3864 tree directory implemented | 3952 tree directory implemented |
3865 Mar 13, 2014 * (Tony Mechylynck) reported that using | 3953 Mar 13, 2014 * (Tony Mechylynck) reported that using |
3866 the browser with ftp on a directory, | 3954 the browser with ftp on a directory, |
3867 and selecting a gzipped txt file, that | 3955 and selecting a gzipped txt file, that |
3868 an E19 occurred (which was issued by | 3956 an E19 occurred (which was issued by |