-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathtextobj-cindent.txt
29 lines (19 loc) · 1022 Bytes
/
textobj-cindent.txt
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
*textobj-cindent.txt* Select a block of lines by their c-style indentation.
CONTENTS *textobj-cindent-contents*
Introduction |textobj-cindent-introduction|
Mappings |textobj-cindent-mappings|
==============================================================================
INTRODUCTION *textobj-cindent-introduction*
This plugin provides text objects to select a block of lines that have the
same or higher indentation as the current line. Optionally their adjacent
less indented lines can be added to the selection.
This plugin depends on the plugin textobj-user.
==============================================================================
MAPPINGS *textobj-cindent-mappings*
These mappings are defined:
Select a block of lines that have the same or higher indentation as the
current line:
map ii <Plug>(textobj-cindent-i)
Same as ii but include their adjacent less indented lines:
map ai <Plug>(textobj-cindent-a)
==============================================================================