diff options
author | Bram Moolenaar <Bram@vim.org> | 2021-05-16 12:39:47 +0200 |
---|---|---|
committer | Bram Moolenaar <Bram@vim.org> | 2021-05-16 12:39:47 +0200 |
commit | 3ec3217f0491e9ba8aa8ea02f7e454cd19a287ef (patch) | |
tree | 06fa2c8e003d252e1a537483aa6b93885e76bca9 /runtime/doc/cmdline.txt | |
parent | 50157ef1c2e36d8696e79fd688bdd08312196bc6 (diff) |
Update runtime files
Diffstat (limited to 'runtime/doc/cmdline.txt')
-rw-r--r-- | runtime/doc/cmdline.txt | 10 |
1 files changed, 6 insertions, 4 deletions
diff --git a/runtime/doc/cmdline.txt b/runtime/doc/cmdline.txt index 68cb04000e..2cd96d0186 100644 --- a/runtime/doc/cmdline.txt +++ b/runtime/doc/cmdline.txt @@ -1,4 +1,4 @@ -*cmdline.txt* For Vim version 8.2. Last change: 2021 Apr 05 +*cmdline.txt* For Vim version 8.2. Last change: 2021 May 08 VIM REFERENCE MANUAL by Bram Moolenaar @@ -798,18 +798,20 @@ three lines: > 3:d<CR> is translated into: .,.+2d<CR> < -Visual Mode and Range *v_:* - *:star-visual-range* +Visual Mode and Range + *v_:* {Visual}: Starts a command-line with the Visual selected lines as a range. The code `:'<,'>` is used for this range, which makes it possible to select a similar line from the command-line history for repeating a command on different Visually selected lines. + +:* *:star* *:star-visual-range* When Visual mode was already ended, a short way to use the Visual area for a range is `:*`. This requires that "*" does not appear in 'cpo', see |cpo-star|. Otherwise you will have to type `:'<,'>` - + For when "*" is in 'cpo' see |:star-compatible|. ============================================================================== 5. Ex command-line flags *ex-flags* |