diff options
author | Bram Moolenaar <Bram@vim.org> | 2015-01-07 16:54:21 +0100 |
---|---|---|
committer | Bram Moolenaar <Bram@vim.org> | 2015-01-07 16:54:21 +0100 |
commit | a162bc555e74c1a4f1b7b49871e292e05141b054 (patch) | |
tree | f730d991cbbf9293059e4be0a931dd96b0429c45 /runtime/doc/windows.txt | |
parent | 3ffc79a4a82918430940bfaa18f4da058fdbd0ca (diff) | |
download | vim-git-a162bc555e74c1a4f1b7b49871e292e05141b054.tar.gz |
updated for version 7.4.566v7.4.566
Problem: :argdo, :bufdo, :windo and :tabdo don't take a range.
Solution: Support the range. (Marcin Szamotulski)
Diffstat (limited to 'runtime/doc/windows.txt')
-rw-r--r-- | runtime/doc/windows.txt | 11 |
1 files changed, 7 insertions, 4 deletions
diff --git a/runtime/doc/windows.txt b/runtime/doc/windows.txt index 67925b864..532cca3e5 100644 --- a/runtime/doc/windows.txt +++ b/runtime/doc/windows.txt @@ -698,8 +698,9 @@ can also get to them with the buffer list commands, like ":bnext". 8. Do a command in all buffers or windows *list-repeat* *:windo* -:windo {cmd} Execute {cmd} in each window. - It works like doing this: > +:[range]windo {cmd} Execute {cmd} in each window or if [range] is given + only in windows for which the window number lies in + the [range]. It works like doing this: > CTRL-W t :{cmd} CTRL-W w @@ -717,8 +718,10 @@ can also get to them with the buffer list commands, like ":bnext". Also see |:tabdo|, |:argdo| and |:bufdo|. *:bufdo* -:bufdo[!] {cmd} Execute {cmd} in each buffer in the buffer list. - It works like doing this: > +:[range]bufdo[!] {cmd} Execute {cmd} in each buffer in the buffer list or if + [range] is given only for buffers for which their + buffer numer is in the [range]. It works like doing + this: > :bfirst :{cmd} :bnext |