Mercurial > vim
comparison runtime/doc/cmdline.txt @ 26779:edb7d53fc7e3
Update runtime files
Commit: https://github.com/vim/vim/commit/a4d131d11052cafcc5baad2273ef48e0dd4d09c5
Author: Bram Moolenaar <Bram@vim.org>
Date: Mon Dec 27 21:33:07 2021 +0000
Update runtime files
author | Bram Moolenaar <Bram@vim.org> |
---|---|
date | Mon, 27 Dec 2021 22:45:03 +0100 |
parents | c725b8e17f1f |
children | 3e661b0cf500 |
comparison
equal
deleted
inserted
replaced
26778:144f71ba54c0 | 26779:edb7d53fc7e3 |
---|---|
1 *cmdline.txt* For Vim version 8.2. Last change: 2021 Dec 04 | 1 *cmdline.txt* For Vim version 8.2. Last change: 2021 Dec 26 |
2 | 2 |
3 | 3 |
4 VIM REFERENCE MANUAL by Bram Moolenaar | 4 VIM REFERENCE MANUAL by Bram Moolenaar |
5 | 5 |
6 | 6 |
703 [range]. It consists of one or more line specifiers, separated with ',' or | 703 [range]. It consists of one or more line specifiers, separated with ',' or |
704 ';'. | 704 ';'. |
705 | 705 |
706 The basics are explained in section |10.3| of the user manual. | 706 The basics are explained in section |10.3| of the user manual. |
707 | 707 |
708 In |Vim9| script a range needs to be prefixed with a colon to avoid ambiguity | |
709 with continuation lines. For example, "+" can be used for a range but is also | |
710 a continuation of an expression: > | |
711 var result = start | |
712 + print | |
713 If the "+" is a range then it must be prefixed with a colon: > | |
714 var result = start | |
715 :+ print | |
716 < | |
708 *:,* *:;* | 717 *:,* *:;* |
709 When separated with ';' the cursor position will be set to that line | 718 When separated with ';' the cursor position will be set to that line |
710 before interpreting the next line specifier. This doesn't happen for ','. | 719 before interpreting the next line specifier. This doesn't happen for ','. |
711 Examples: > | 720 Examples: > |
712 4,/this line/ | 721 4,/this line/ |