comparison runtime/doc/motion.txt @ 33290:9a7b1f8aea55

runtime(doc): add help tag describing object-selection Commit: https://github.com/vim/vim/commit/346ac1429c5afb23bace295106aea1b305443435 Author: Christian Brabandt <cb@256bit.org> Date: Mon Sep 18 20:11:37 2023 +0200 runtime(doc): add help tag describing object-selection closes: https://github.com/vim/vim/issues/13114 Signed-off-by: Christian Brabandt <cb@256bit.org>
author Christian Brabandt <cb@256bit.org>
date Mon, 18 Sep 2023 20:15:08 +0200
parents 2ad6e8515a78
children 1f3bcb7f3bd0
comparison
equal deleted inserted replaced
33289:a806e37138c2 33290:9a7b1f8aea55
1 *motion.txt* For Vim version 9.0. Last change: 2022 Sep 26 1 *motion.txt* For Vim version 9.0. Last change: 2023 Sep 18
2 2
3 3
4 VIM REFERENCE MANUAL by Bram Moolenaar 4 VIM REFERENCE MANUAL by Bram Moolenaar
5 5
6 6
681 Like a", a' and a`, but exclude the quotes and 681 Like a", a' and a`, but exclude the quotes and
682 repeating won't extend the Visual selection. 682 repeating won't extend the Visual selection.
683 Special case: With a count of 2 the quotes are 683 Special case: With a count of 2 the quotes are
684 included, but no extra white space as with a"/a'/a`. 684 included, but no extra white space as with a"/a'/a`.
685 685
686 *o_object-select*
686 When used after an operator: 687 When used after an operator:
687 For non-block objects: 688 For non-block objects:
688 For the "a" commands: The operator applies to the object and the white 689 For the "a" commands: The operator applies to the object and the white
689 space after the object. If there is no white space after the object 690 space after the object. If there is no white space after the object
690 or when the cursor was in the white space before the object, the white 691 or when the cursor was in the white space before the object, the white
696 The operator applies to the block where the cursor is in, or the block 697 The operator applies to the block where the cursor is in, or the block
697 on which the cursor is on one of the braces. For the "inner" commands 698 on which the cursor is on one of the braces. For the "inner" commands
698 the surrounding braces are excluded. For the "a" commands, the braces 699 the surrounding braces are excluded. For the "a" commands, the braces
699 are included. 700 are included.
700 701
702 *v_object-select*
701 When used in Visual mode: 703 When used in Visual mode:
702 When start and end of the Visual area are the same (just after typing "v"): 704 When start and end of the Visual area are the same (just after typing "v"):
703 One object is selected, the same as for using an operator. 705 One object is selected, the same as for using an operator.
704 When start and end of the Visual area are not the same: 706 When start and end of the Visual area are not the same:
705 For non-block objects the area is extended by one object or the white 707 For non-block objects the area is extended by one object or the white