aboutsummaryrefslogtreecommitdiff
path: root/runtime/autoload/netrw.vim
Commit message (Collapse)AuthorAge
* vim-patch:9cfdabb: runtime(netrw): change netrw maintainerChristian Clason2025-01-18
| | | | | | | | | | | | | | | | | Dr. Chip retired some time ago and is no longer maintaining the netrw plugin. However as a runtime plugin distributed by Vim, it important to maintain the netrw plugin in the future and fix bugs as they are reported. So, split out the netrw plugin as an additional package, however include some stubs to make sure the plugin is still loaded by default and the documentation is accessible as well. closes: vim/vim#16368 https://github.com/vim/vim/commit/9cfdabb074feefc9848e9f7a4538f201e28c7f06 Co-authored-by: Luca Saccarola <github.e41mv@aleeas.com>
* vim-patch:c673b80: runtime(netrw): more reformating vim/vim#16248 (#31662)zeertzjq2024-12-21
| | | | | | | closes: vim/vim#16266 https://github.com/vim/vim/commit/c673b805ad80d0aef07e745d412a2bf298ba1c07 Co-authored-by: shane.xb.qian <shane.qian@foxmail.com>
* vim-patch:c363ca1: runtime(netrw): change indent size from 1 to 2 (#31648)zeertzjq2024-12-20
| | | | | | | closes: vim/vim#16248 https://github.com/vim/vim/commit/c363ca1ecd1f8db03663ef98dcf41eeacc3c22c7 Co-authored-by: Luca Saccarola <github.e41mv@aleeas.com>
* vim-patch:5c42c77: runtime(netrw): do not pollute search history with symlinksChristian Clason2024-12-13
| | | | | | | | fixes: vim/vim#16206 https://github.com/vim/vim/commit/5c42c7731536418c53273932d7ef76b80b001f38 Co-authored-by: Christian Brabandt <cb@256bit.org>
* vim-patch:92b3666: runtime(netrw): only check first arg of ↵zeertzjq2024-12-09
| | | | | | | | | | netrw_browsex_viewer for being executable fixes: vim/vim#16185 https://github.com/vim/vim/commit/92b36663f8d0e507f60f357c6add6f6c9148a951 Co-authored-by: Christian Brabandt <cb@256bit.org>
* vim-patch:eda923e: runtime(netrw): do not detach when launching external ↵zeertzjq2024-12-09
| | | | | | | | | | | | programs in gvim On Debian 12 when detaching the program wouldn't launch at all closes: vim/vim#16168 https://github.com/vim/vim/commit/eda923e9c9e639bc4f02b8b3ead1e7d27981e552 Co-authored-by: Konfekt <Konfekt@users.noreply.github.com>
* vim-patch:d7745ac: runtime(netrw): Fixing powershell execution issues on ↵zeertzjq2024-11-24
| | | | | | | | | Windows (#31333) closes: vim/vim#16094 https://github.com/vim/vim/commit/d7745acbd8fe1e4feb356a6dc7fc185eeab17d67 Co-authored-by: GuyBrush <miguel.barro@live.com>
* vim-patch:cacfccf: runtime(netrw): update netrw's decompress logicChristian Clason2024-11-23
| | | | | | | | | | | | Detect a few more default archive types, correctly handle file extensions with digits in it. fixes: vim/vim#16099 closes: vim/vim#16104 https://github.com/vim/vim/commit/cacfccf803949e62a29c85d4525372a10ea7e070 Co-authored-by: Christian Brabandt <cb@256bit.org>
* vim-patch:460799d: runtime(netrw): small fixes to netrw#BrowseXChristian Clason2024-11-15
| | | | | | | | | | | | | | - do not enter dir in Netrw on opening - double quotes after start cause error on Windows See @chrisbra 's comments at [0] [0]: https://github.com/techntools/vim/commit/ff82e7a9dbef1cf98525be3186d65f450390e3b7#diff-39baf27d8f62071617bbef12f874cce31c0ebd02ec99e7b119474ca870c636a3R5279 https://github.com/vim/vim/commit/460799d885feeabd57b4e9336c513e53b2c7c86f Co-authored-by: Konfekt <Konfekt@users.noreply.github.com>
* vim-patch:5b63b23: runtime(netrw): directory symlink not resolved in tree ↵zeertzjq2024-11-11
| | | | | | | | | view (#31161) closes: vim/vim#16020 https://github.com/vim/vim/commit/5b63b236a0af198f6c3c9883a3f6344b110dabb3 Co-authored-by: Christian Brabandt <cb@256bit.org>
* vim-patch:64a536d: runtime(netrw): fix several bugs in netrw tree listingzeertzjq2024-11-09
| | | | | | | | | | | fixes: vim/vim#5630 fixes: vim/vim#9807 fixes: vim/vim#14623 closes: vim/vim#15996 https://github.com/vim/vim/commit/64a536d4fa17ec176f574a01543e483a163622eb Co-authored-by: Tom Benham <tom.benham13@gmail.com>
* vim-patch:a063b22: runtime(netrw): prevent polluting the search historyzeertzjq2024-11-09
| | | | | | https://github.com/vim/vim/commit/a063b22b3bbc1c7ad9d985b14d6e3c5b7c6e3eca Co-authored-by: Christian Brabandt <cb@256bit.org>
* vim-patch:4d61800: runtime(netrw): fix E874 when browsing remote directory ↵zeertzjq2024-10-31
| | | | | | | | | | which contains `~` character closes: vim/vim#15964 https://github.com/vim/vim/commit/4d618006ecfd2557806d8af488f70b3e46878d70 Co-authored-by: Tom Benham <tom.benham13@gmail.com>
* vim-patch:8b0fa7a: runtime(netrw): make :Launch/Open autoloadablezeertzjq2024-10-31
| | | | | | | | | | fixes: vim/vim#15959 closes: vim/vim#15962 https://github.com/vim/vim/commit/8b0fa7a565d8aec306e5755307d182fa7d81e65f Co-authored-by: Christian Brabandt <cb@256bit.org> Co-authored-by: Aliaksei Budavei <0x000c70@gmail.com>
* vim-patch:9f32069: runtime(netrw): fix regression with x mapping on Cygwinzeertzjq2024-10-31
| | | | | | | | | related: vim/vim#13687 https://github.com/vim/vim/commit/9f32069b8c4f74aa6af47e2f0ec07f2745feac57 Co-authored-by: Christian Brabandt <cb@256bit.org> Co-authored-by: K.Takata <kentkt@csc.jp>
* vim-patch:aa2ce6f: runtime(netrw): fix filetype detection for remote fileszeertzjq2024-10-31
| | | | | | | | | | | fixes: vim/vim#15961 while at it, remove the Decho comments in the s:NetrwOptionsRestore() function https://github.com/vim/vim/commit/aa2ce6f58005bc3b81be2bf42f84ffd01ce22d57 Co-authored-by: Christian Brabandt <cb@256bit.org>
* vim-patch:3d7e567: runtime(netrw): simplify gx file handlingzeertzjq2024-10-31
| | | | | | | | | | | | | | | | | | | | | | It did not work very well, at least on Debian 12, and I am not sure Git Bash and WSL, for example, were taken care of as maintenance stalled. The whole logic was somewhat convoluted with some parts repeatedly invoking failed commands. The file handling was outdated, for example, nowadays Netscape is rarely used, and also opinionated, for example mainly Microsoft Paint and Gimp for Image files. Instead, let's use (xdg-)open and similar commands on other systems which respects the user's preferences. closes: vim/vim#15721 https://github.com/vim/vim/commit/3d7e567ea7392e43a90a6ffb3cd49b71a7b59d1a Co-authored-by: Konfekt <Konfekt@users.noreply.github.com> Co-authored-by: Luca Saccarola <96259932+saccarosium@users.noreply.github.com>
* vim-patch:a7d4561: runtime(netrw): deprecate and remove ↵Christian Clason2024-10-22
| | | | | | | | | | | netrwFileHandlers#Invoke() closes: vim/vim#15895 https://github.com/vim/vim/commit/a7d456191de0c9092151e5c64f1a3b5a6714509b Co-authored-by: Luca Saccarola <github.e41mv@aleeas.com> Co-authored-by: Konfekt <Konfekt@users.noreply.github.com>
* vim-patch:be551da: runtime(netrw): remove extraneous closing bracketChristian Clason2024-09-23
| | | | | | | | | fixes: vim/vim#15717 closes: vim/vim#15718 https://github.com/vim/vim/commit/be551dacb87a0542afd8b5c17b89e6749f2dc355 Co-authored-by: Peter Aronoff <peter@aronoff.org>
* vim-patch:c18a9d5: runtime(netrw): using inefficient highlight pattern for 'mf'Christian Clason2024-09-21
| | | | | | | | | | | Fixes E872 too many '(' in highlight pattern for `mf` selection fixup for vim/vim#15551 closes: vim/vim#15700 https://github.com/vim/vim/commit/c18a9d5835456e0e47e943b673d631caaebdbea3 Co-authored-by: yasuda <yasuda@kyoto-sr.co.jp>
* vim-patch:0f5effb: runtime(netrw): delete confirmation not strict enoughChristian Clason2024-09-16
| | | | | | | | fixes: vim/vim#15680 https://github.com/vim/vim/commit/0f5effbd1fb58128be677aa577d3d0ab2fc9527a Co-authored-by: Christian Brabandt <cb@256bit.org>
* vim-patch:c75dad0: runtime(netrw): Change line on `mx` if command output existsChristian Clason2024-08-22
| | | | | | | | closes: vim/vim#15550 https://github.com/vim/vim/commit/c75dad017726ae78d6d2a68d1d6cfa12e7bd29f3 Co-authored-by: yasuda <yasuda@kyoto-sr.co.jp>
* vim-patch:38cfa2b: runtime(netrw): Fix `mf`-selected entry highlightingChristian Clason2024-08-22
| | | | | | | | closes: vim/vim#15551 https://github.com/vim/vim/commit/38cfa2b6623c64e748be17739799da36ca2d76bf Co-authored-by: yasuda <yasuda@kyoto-sr.co.jp>
* vim-patch:1fbccc1: runtime(netrw): Drop committed trace linesChristian Clason2024-08-17
| | | | | | | | closes: vim/vim#15501 https://github.com/vim/vim/commit/1fbccc1e9694e5e6162dff112b49a093eac770ee Co-authored-by: Damien <141588647+xrandomname@users.noreply.github.com>
* vim-patch:b4d1164: runtime(netrw): Error popup not always usedChristian Clason2024-08-17
| | | | | | | | | | | | Problem: g:netrw_use_errorwindow=2 does not work without +balloon_eval. Solution: Check for popup_atcursor(). related: vim/vim#15501 https://github.com/vim/vim/commit/b4d11644254ec6e29aed93a9fdcde2160163aefd Co-authored-by: Damien <141588647+xrandomname@users.noreply.github.com>
* vim-patch:7c75411: runtime(netrw): ErrorMsg() may throw E121Christian Clason2024-08-17
| | | | | | | | | | Move variables declaration related: vim/vim#15501 https://github.com/vim/vim/commit/7c754110ff8e0d666d422f1644bc356c8fee7392 Co-authored-by: Damien <141588647+xrandomname@users.noreply.github.com>
* vim-patch:c527d90: runtime(netrw): honor `g:netrw_alt{o,v}` for ↵Christian Clason2024-08-03
| | | | | | | | | | | | | | | `:{S,H,V}explore` Make `:Sexplore` / `:Hexplore` / `:Vexplore` commands honor the user `&split{right,below}` settings (or netrw-specific `g:netrw_alt{o,v}`) instead of hardcoding a split direction. Similarly, update banged variants of the two latter commands to follow the inverted preference. closes: vim/vim#15417 https://github.com/vim/vim/commit/c527d90fae7210d6dc5cbdf7507f26a32455149b Co-authored-by: Ivan Shapovalov <intelfx@intelfx.name>
* vim-patch:e34d0e3: runtime(netrw): removing trailing slash when copying ↵Christian Clason2024-07-31
| | | | | | | | | | files in same directory closes: vim/vim#14756 https://github.com/vim/vim/commit/e34d0e37e397419636ae5d27d4b236b193efef07 Co-authored-by: Travis Shelton <tshelton.mail@gmail.com>
* vim-patch:581d4a7: runtime(netrw): escape filename before trying to delete ↵Nikita Rudakov2024-07-24
| | | | | | | | | it (#29838) fixes: vim/vim#15330 https://github.com/vim/vim/commit/581d4a7b356395bcb8606c1717ded65d47d26c68 Co-authored-by: Christian Brabandt <cb@256bit.org>
* vim-patch:9d57ea5: runtime(netrw): Fix endless recursion in netrw#Explore()Christian Clason2024-07-23
| | | | | | | | | | | | Problem: ':E /etc BOOM' give E132 error. Solution: Avoid recursion call with same arguments. fixes: vim/vim#5723 closes: vim/vim#15318 https://github.com/vim/vim/commit/9d57ea5cd3a23af02c72c0e86fe24b7bba57189a Co-authored-by: Damien <141588647+xrandomname@users.noreply.github.com>
* vim-patch:3146d63: runtime(netrw): fix remaining case of register clobberChristian Clason2024-07-04
| | | | | | | | | | complements 62f7b55c1a4564f8744af9446bc7af47fe16a245 closes: vim/vim#15114 https://github.com/vim/vim/commit/3146d63267664e0a0afdbe14be0cec30e7168a04 Co-authored-by: Enno <Konfekt@users.noreply.github.com>
* vim-patch:62f7b55: runtime(netrw): save and restore register 0-9, a and ↵zeertzjq2024-06-25
| | | | | | | | | unnamed (#29479) fixes: vim/vim#15077 https://github.com/vim/vim/commit/62f7b55c1a4564f8744af9446bc7af47fe16a245 Co-authored-by: Christian Brabandt <cb@256bit.org>
* vim-patch:4407461: runtime(netrw): correctly test for windows in NetrwGlob() ↵zeertzjq2024-06-14
| | | | | | | | | | (#29330) use has("win32") instead of has("win64") otherwise it won't work on x86 systems. https://github.com/vim/vim/commit/440746158ce0fec2880ccacc03f39dbc954c5543 Co-authored-by: Christian Brabandt <cb@256bit.org>
* vim-patch:1487947: runtime(netrw): glob() on windows fails with [] in ↵zeertzjq2024-06-14
| | | | | | | | | | directory name (#29324) fixes: vim/vim#14952 closes: vim/vim#14991 https://github.com/vim/vim/commit/1487947fb625d44ed02382ea6b0d5bf72b12583a Co-authored-by: Christian Brabandt <cb@256bit.org>
* vim-patch:98b73eb: runtime(netrw): prevent accidental data lossChristian Clason2024-06-04
| | | | | | | | fixes: vim/vim#14915 https://github.com/vim/vim/commit/98b73eb645b68b6e197b63bbbae777b388d47612 Co-authored-by: Christian Brabandt <cb@256bit.org>
* vim-patch:43f2edc096cbChristian Clason2024-05-14
| | | | | | | | | | | | | | | | runtime(netrw): prefer scp over pscp regression introduced in ce2ad9ffd79fe6b2307cd46b9 The current logic is a bit funny, in that it checks for an executable of scp, then pscp and if neither exists, it uses: scp :/ Anyway, let's fall back to the logic used before the above commit. related: vim/vim#14739 https://github.com/vim/vim/commit/43f2edc096cbf9c67095b301a1f4325866eeba36 Co-authored-by: Christian Brabandt <cb@256bit.org>
* vim-patch:c16c4a21eb39Christian Clason2024-05-11
| | | | | | | | | | runtime(netrw): Recursively delete directories by default with netrw delete command closes: vim/vim#14742 https://github.com/vim/vim/commit/c16c4a21eb397634309f1f574811461d6154118d Co-authored-by: Nir Lichtman <nir@lichtman.org>
* vim-patch:ce2ad9ffd79fChristian Clason2024-05-10
| | | | | | | | | | runtime(netrw): Remove hardcoded private.ppk logic from netrw closes: vim/vim#14739 https://github.com/vim/vim/commit/ce2ad9ffd79fe6b2307cd46b96af7d99c0dd646e Co-authored-by: Nir Lichtman <nir@lichtman.org>
* vim-patch:1e34b95e4402Christian Clason2024-05-09
| | | | | | | | | | runtime(netrw): Remove and cleanup Win9x legacy from netrw closes: vim/vim#14732 https://github.com/vim/vim/commit/1e34b95e4402fd8964ea4bcee0d2b6ffa6677aab Co-authored-by: Nir Lichtman <nir@lichtman.org>
* vim-patch:08d2401fbc6dChristian Clason2024-04-04
| | | | | | | | | | runtime(netrw): filetype not detected when editing remote files fixes: vim/vim#14400 https://github.com/vim/vim/commit/08d2401fbc6de2606aca69add401e2ffca772aa2 Co-authored-by: Christian Brabandt <cb@256bit.org>
* vim-patch:4b715bdaf4caChristian Clason2024-03-24
| | | | | | | | | | runtime(netrw): Fix typo in netrw#NetWrite (vim/vim#14283) Fix typo in netrw#NetWrite (http) error message call. https://github.com/vim/vim/commit/4b715bdaf4ca08ba0f64475e250c0fe799ab6d9b Co-authored-by: dkearns <dougkearns@gmail.com>
* vim-patch:8fad5d58874eChristian Clason2024-02-29
| | | | | | | | | | | runtime(doc,netrw): update "Last Change header", remove trailing whitespace Update Last-Change Header for netrw and doc/indent.txt, fix a trailing whitespace in indent.txt and make CI happy. https://github.com/vim/vim/commit/8fad5d58874ed724f673ac8a83739164cead3961 Co-authored-by: Christian Brabandt <cb@256bit.org>
* vim-patch:56b7da3c051fChristian Clason2024-02-29
| | | | | | | | | | | runtime(netrw): handle file/dir symlinks specifically in tree mode fixes: vim/vim#2386 related: vim/vim#3609 https://github.com/vim/vim/commit/56b7da3c051fe1a5fd76534998c17b22d83c0899 Co-authored-by: Christian Brabandt <cb@256bit.org>
* vim-patch:f9ca139e3aa1 (#27554)zeertzjq2024-02-21
| | | | | | | runtime(misc): announce adoption of various runtime files https://github.com/vim/vim/commit/f9ca139e3aa12dd03177ebba5eedcee4f0836f27 Co-authored-by: Christian Brabandt <cb@256bit.org>
* vim-patch:c46c21b4ca47Christian Clason2024-02-01
| | | | | | | | | | | runtime(netrw): fixing remote file removal via ssh (vim/vim#13942) Make pattern, which retrieves the path component from e.g. `scp://user@host//opt/program/file.ext` non-greedy. https://github.com/vim/vim/commit/c46c21b4ca476c0846a410d7c4d8c6e3e930f167 Co-authored-by: MiguelBarro <45819833+MiguelBarro@users.noreply.github.com>
* vim-patch:bdb9d9afba97Christian Clason2024-01-31
| | | | | | | | | | runtime(netrw): Use :exec norm! <leftmouse> before :call mapping in netrw (vim/vim#12180) fixes: vim/vim#12143 https://github.com/vim/vim/commit/bdb9d9afba9769b1cb9c0b320086142d99034c9a Co-authored-by: user202729 <25191436+user202729@users.noreply.github.com>
* vim-patch:a262d3f41bc5Christian Clason2024-01-24
| | | | | | | | | | | | runtime(netrw): Don't change global options (vim/vim#13910) Originally reported at: https://github.com/vim-jp/issues/issues/1428 'isk' was unintentionally changed by netrw, regression introduced in Commit: 71badf9547e8f89571b9a095183671cbb333d528 https://github.com/vim/vim/commit/a262d3f41bc51be697ddebbf04f186e7d193fd6f Co-authored-by: K.Takata <kentkt@csc.jp>
* vim-patch:6e5a6c9965f6Christian Clason2024-01-18
| | | | | | | | runtime(netrw): minor changes to fix move cmd on windows (vim/vim#13823) https://github.com/vim/vim/commit/6e5a6c9965f667712494ae0a9df8a407267cc72f Co-authored-by: MiguelBarro <45819833+MiguelBarro@users.noreply.github.com>
* vim-patch:2357765304e4Christian Clason2024-01-12
| | | | | | | | | | | | runtime(netrw): Decode multibyte percent-encoding filename correctly (vim/vim#13842) Use `printf("%c")` instead of `nr2char()` to handle '%xx' as a byte. Close vim/vim#13787 https://github.com/vim/vim/commit/2357765304e4c55935b5cc853ffb98ae82d64a01 Co-authored-by: K.Takata <kentkt@csc.jp>
* vim-patch:71d0ba07a33aChristian Clason2024-01-09
| | | | | | | | | | | | | | | runtime(netrw): Sync with netrw 174b (vim/vim#13836) * Import netrw v174b * Revert unwanted changes * Fix indent * Revert some changes * Update tags * Break long line https://github.com/vim/vim/commit/71d0ba07a33a750e9834cd42b7acc619043dedb1 Co-authored-by: K.Takata <kentkt@csc.jp>