From a5c66227d108f6cac9dace917b03c48a74b88bbc Mon Sep 17 00:00:00 2001 From: h-east Date: Sat, 7 Jun 2025 08:40:57 +0900 Subject: [PATCH 1/2] Update usr_22.{txt,jax} --- doc/usr_22.jax | 39 ++++++++++++++++++++------------------- en/usr_22.txt | 38 ++++++++++++++++++++------------------ 2 files changed, 40 insertions(+), 37 deletions(-) diff --git a/doc/usr_22.jax b/doc/usr_22.jax index eade174e8..7a5969f04 100644 --- a/doc/usr_22.jax +++ b/doc/usr_22.jax @@ -1,4 +1,4 @@ -*usr_22.txt* For Vim バージョン 9.1. Last change: 2024 Oct 05 +*usr_22.txt* For Vim バージョン 9.1. Last change: 2025 Jun 04 VIM USER MANUAL - by Bram Moolenaar @@ -26,24 +26,25 @@ :edit . -自動コマンドと Vim script の魔法により、ディレクトリの内容がウィンドウに表 -示されます。例えばこんな具合です: - -" ============================================================================ ~ -" Netrw Directory Listing (netrw v109) ~ -" 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 ~ -" ============================================================================ ~ -../ ~ -./ ~ -check/ ~ -Makefile ~ -autocmd.txt ~ -change.txt ~ -eval.txt ~ -filetype.txt ~ -help.txt.info ~ +自動コマンドと Vim script の魔法により、ディレクトリの内容がウィンドウに表示さ +れます。例えばこんな具合です(80 文字以内に収まるように少し整理されています): > + + " =========================================================================== + " Netrw Directory Listing (netrw v180) + " /path/to/vim/runtime/doc + " Sorted by name + " Sort sequence: [\/]$,*,\(\.bak\|\~\|\.o\|\.h\|\.info\|\.swp\)[*@]\=$ + " Quick Help: :help -:go up dir D:delete R:rename s:sort-by x:special + " =========================================================================== + ../ + ./ + check/ + Makefile + autocmd.txt + change.txt + eval.txt + filetype.txt + help.txt.info 次の項目が表示されます: diff --git a/en/usr_22.txt b/en/usr_22.txt index 0220893a7..c0ab47af8 100644 --- a/en/usr_22.txt +++ b/en/usr_22.txt @@ -1,4 +1,4 @@ -*usr_22.txt* For Vim version 9.1. Last change: 2024 Oct 05 +*usr_22.txt* For Vim version 9.1. Last change: 2025 Jun 04 VIM USER MANUAL - by Bram Moolenaar @@ -27,23 +27,25 @@ 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: - -" ============================================================================ ~ -" Netrw Directory Listing (netrw v109) ~ -" 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 ~ -" ============================================================================ ~ -../ ~ -./ ~ -check/ ~ -Makefile ~ -autocmd.txt ~ -change.txt ~ -eval.txt ~ -filetype.txt ~ -help.txt.info ~ +with the contents of the directory. It looks like this (slightly cleaned up +so that it fits within 80 chars): > + + " =========================================================================== + " Netrw Directory Listing (netrw v180) + " /path/to/vim/runtime/doc + " Sorted by name + " Sort sequence: [\/]$,*,\(\.bak\|\~\|\.o\|\.h\|\.info\|\.swp\)[*@]\=$ + " Quick Help: :help -:go up dir D:delete R:rename s:sort-by x:special + " =========================================================================== + ../ + ./ + check/ + Makefile + autocmd.txt + change.txt + eval.txt + filetype.txt + help.txt.info You can see these items: From 4d02f84d131649566b214ddf78da5f850a7dfa75 Mon Sep 17 00:00:00 2001 From: h_east Date: Sun, 8 Jun 2025 09:19:46 +0900 Subject: [PATCH 2/2] Update doc/usr_22.jax Co-authored-by: mityu --- doc/usr_22.jax | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/doc/usr_22.jax b/doc/usr_22.jax index 7a5969f04..be8d8e914 100644 --- a/doc/usr_22.jax +++ b/doc/usr_22.jax @@ -27,7 +27,7 @@ :edit . 自動コマンドと Vim script の魔法により、ディレクトリの内容がウィンドウに表示さ -れます。例えばこんな具合です(80 文字以内に収まるように少し整理されています): > +れます。例えばこんな具合です (80 文字以内に収まるように少し整理されています): > " =========================================================================== " Netrw Directory Listing (netrw v180)