Mercurial > vim
comparison runtime/doc/visual.txt @ 21676:1b345fb68ae3
Update runtime files.
Commit: https://github.com/vim/vim/commit/e7b1ea0276cc83cd5c612f3189a174a60d57b5ed
Author: Bram Moolenaar <Bram@vim.org>
Date: Fri Aug 7 19:54:59 2020 +0200
Update runtime files.
author | Bram Moolenaar <Bram@vim.org> |
---|---|
date | Fri, 07 Aug 2020 20:00:05 +0200 |
parents | af69c9335223 |
children | e69e7133c9cf |
comparison
equal
deleted
inserted
replaced
21675:49ed426f3fb5 | 21676:1b345fb68ae3 |
---|---|
123 *gN* *v_gN* | 123 *gN* *v_gN* |
124 gN Like |gn| but searches backward, like with `N`. | 124 gN Like |gn| but searches backward, like with `N`. |
125 | 125 |
126 *<LeftMouse>* | 126 *<LeftMouse>* |
127 <LeftMouse> Set the current cursor position. If Visual mode is | 127 <LeftMouse> Set the current cursor position. If Visual mode is |
128 active it is stopped. Only when 'mouse' option is | 128 active it is stopped. Only when 'mouse' option |
129 contains 'n' or 'a'. If the position is within 'so' | 129 contains 'n' or 'a'. If the position is within 'so' |
130 lines from the last line on the screen the text is | 130 lines from the last line on the screen the text is |
131 scrolled up. If the position is within 'so' lines from | 131 scrolled up. If the position is within 'so' lines from |
132 the first line on the screen the text is scrolled | 132 the first line on the screen the text is scrolled |
133 down. | 133 down. |
134 | 134 |
135 *<RightMouse>* | 135 *<RightMouse>* |
136 <RightMouse> Start Visual mode if it is not active. The text from | 136 <RightMouse> Start Visual mode if it is not active. The text from |
137 the cursor position to the position of the click is | 137 the cursor position to the position of the click is |
138 highlighted. If Visual mode was already active move | 138 highlighted. If Visual mode was already active move |
139 the start or end of the highlighted text, which ever | 139 the start or end of the highlighted text, whichever |
140 is closest, to the position of the click. Only when | 140 is closest, to the position of the click. Only when |
141 'mouse' option contains 'n' or 'a'. | 141 'mouse' option contains 'n' or 'a'. |
142 | 142 |
143 Note: when 'mousemodel' is set to "popup", | 143 Note: when 'mousemodel' is set to "popup", |
144 <S-LeftMouse> has to be used instead of <RightMouse>. | 144 <S-LeftMouse> has to be used instead of <RightMouse>. |
234 iW inner WORD |v_iW| | 234 iW inner WORD |v_iW| |
235 as a sentence (with white space) |v_as| | 235 as a sentence (with white space) |v_as| |
236 is inner sentence |v_is| | 236 is inner sentence |v_is| |
237 ap a paragraph (with white space) |v_ap| | 237 ap a paragraph (with white space) |v_ap| |
238 ip inner paragraph |v_ip| | 238 ip inner paragraph |v_ip| |
239 ab a () block (with parenthesis) |v_ab| | 239 ab a () block (with parentheses) |v_ab| |
240 ib inner () block |v_ib| | 240 ib inner () block |v_ib| |
241 aB a {} block (with braces) |v_aB| | 241 aB a {} block (with braces) |v_aB| |
242 iB inner {} block |v_iB| | 242 iB inner {} block |v_iB| |
243 at a <tag> </tag> block (with tags) |v_at| | 243 at a <tag> </tag> block (with tags) |v_at| |
244 it inner <tag> </tag> block |v_it| | 244 it inner <tag> </tag> block |v_it| |
345 *v_b_<* | 345 *v_b_<* |
346 Visual-block Shift *v_b_>* | 346 Visual-block Shift *v_b_>* |
347 The block is shifted by 'shiftwidth'. The RHS of the block is irrelevant. The | 347 The block is shifted by 'shiftwidth'. The RHS of the block is irrelevant. The |
348 LHS of the block determines the point from which to apply a right shift, and | 348 LHS of the block determines the point from which to apply a right shift, and |
349 padding includes TABs optimally according to 'ts' and 'et'. The LHS of the | 349 padding includes TABs optimally according to 'ts' and 'et'. The LHS of the |
350 block determines the point upto which to shift left. | 350 block determines the point up to which to shift left. |
351 See |v_b_>_example|. | 351 See |v_b_>_example|. |
352 See |v_b_<_example|. | 352 See |v_b_<_example|. |
353 | 353 |
354 Visual-block Replace *v_b_r* | 354 Visual-block Replace *v_b_r* |
355 Every screen char in the highlighted region is replaced with the same char, ie | 355 Every screen char in the highlighted region is replaced with the same char, ie |