Skip to content

Commit

Permalink
Updated documentation on the starstar globbing
Browse files Browse the repository at this point in the history
Mention that it requires at least version 4 for bash to work correctly.
  • Loading branch information
chrisbra committed Sep 22, 2023
1 parent edbae77 commit 76011de
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions runtime/doc/editing.txt
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
*editing.txt* For Vim version 9.0. Last change: 2023 Apr 23
*editing.txt* For Vim version 9.0. Last change: 2023 Sep 22


VIM REFERENCE MANUAL by Bram Moolenaar
Expand Down Expand Up @@ -385,7 +385,9 @@ as a wildcard when "[" is in the 'isfname' option. A simple way to avoid this
is to use "path\[[]abc]", this matches the file "path\[abc]".

*starstar-wildcard*
Expanding "**" is possible on Unix, Win32, macOS and a few other systems.
Expanding "**" is possible on Unix, Win32, macOS and a few other systems (but
it may depend on your 'shell' setting. It's known to work correctly for zsh; for
bash this requires at least bash version >= 4.X).
This allows searching a directory tree. This goes up to 100 directories deep.
Note there are some commands where this works slightly differently, see
|file-searching|.
Expand Down

0 comments on commit 76011de

Please sign in to comment.