From a5bbdbb5d5a58a08a62e12d13fef906c04a6af74 Mon Sep 17 00:00:00 2001 From: zeertzjq Date: Thu, 5 Jun 2025 06:31:58 +0800 Subject: [PATCH] vim-patch:dfed077: runtime(doc): fix small errors from rev 2090405de5bb66facc29c74 - update the netrw window to current version (and trim it slightly to 80 chars) - remove a trailing double quote https://github.com/vim/vim/commit/dfed077e06600df6ae71b06df273a4280dd76ff2 Co-authored-by: Christian Brabandt Co-authored-by: Antonio Giovanni Colombo --- runtime/doc/editing.txt | 2 +- runtime/doc/usr_22.txt | 10 ++++++---- 2 files changed, 7 insertions(+), 5 deletions(-) diff --git a/runtime/doc/editing.txt b/runtime/doc/editing.txt index d4316455d9..9a8d413181 100644 --- a/runtime/doc/editing.txt +++ b/runtime/doc/editing.txt @@ -1322,7 +1322,7 @@ may want to add > < as the final filter on Windows or > - All Files\t(*)\t*\n" + All Files\t(*)\t*\n < on other platforms, so that the user can still access any desired file. diff --git a/runtime/doc/usr_22.txt b/runtime/doc/usr_22.txt index 2ad2c77468..8991e2554c 100644 --- a/runtime/doc/usr_22.txt +++ b/runtime/doc/usr_22.txt @@ -27,13 +27,15 @@ Vim has a plugin that makes it possible to edit a directory. Try this: > :edit . Through the magic of autocommands and Vim scripts, the window will be filled -with the contents of the directory. It looks like this: > +with the contents of the directory. It looks like this (slightly cleaned up +so that it fits within 80 chars): > " =========================================================================== - " Netrw Directory Listing (netrw v109) + " Netrw Directory Listing (netrw v180) + " /path/to/vim/runtime/doc " Sorted by name - " Sort sequence: [\/]$,\.h$,\.c$,\.cpp$,*,\.info$,\.swp$,\.o$\.obj$,\.bak$ - " Quick Help: :help -:go up dir D:delete R:rename s:sort-by x:exec + " Sort sequence: [\/]$,*,\(\.bak\|\~\|\.o\|\.h\|\.info\|\.swp\)[*@]\=$ + " Quick Help: :help -:go up dir D:delete R:rename s:sort-by x:special " =========================================================================== ../ ./