aboutsummaryrefslogtreecommitdiff
path: root/doc/colon_operator.txt
blob: 865ef0e77f2ba421b4025a56f83e1001f4bd88e6 (plain) (blame)
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
30
31
*colon_operator.txt*	For Vim version 7.0	Last change: 2019 May 29

DESCRIPTION				*colon_operator*

This plugin provides a mapping target to use an Ex command as an operator, in
a way repeatable with the |.| (dot) operator.  This allows you to, for example,
|:sort| a text object like a paragraph, and then repeat it on another
paragraph.  Think of it as the |:| analogue to the |!| motion.

REQUIREMENTS				*colon_operator-requirements*

This plugin only loads if 'compatible' is not set.

MAPPINGS				*colon_operator-mappings*

					*<Plug>(ColonOperator)*
The single normal mode mapping target is |<Plug>(ColonOperator)|.  There is no
default key mapping; you should define one yourself in your |vimrc|.  For
example:
>
	nmap g: <Plug>(ColonOperator)
<
AUTHOR					*colon_operator-author*

Written and maintained by Tom Ryder <tom@sanctum.geek.nz>.

LICENSE					*colon_operator-license*

Licensed for distribution under the same terms as Vim itself (see |license|).

 vim:tw=78:ts=8:ft=help:norl: