aboutsummaryrefslogtreecommitdiff
path: root/doc/put_blank_lines.txt
blob: b50fd1822a44e331554e0638ac5292c5e7ef243b (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
32
33
34
35
36
37
38
39
40
41
42
43
44
*put_blank_lines.txt*	For Vim version 6.0	Last change: 2018 June 17

DESCRIPTION					*put_blank_lines*

This plugin provides mapping targets for inserting blank lines above or below
the current line without going into insert mode. The applicable code is lifted
from unimpaired.vim. It still works with repeat.vim, if that's installed, to
make the mappings repeatable.

I wrote this because I used these mappings from the original plugin frequently,
but (almost) nothing else from it. The only functional difference is that the
number of added lines is not reported, via a `:silent` suppression.

CONFIGURATION					*put_blank_lines-configuration*

To set mappings exactly like those from the original plugin, you might
write this in your |vimrc|:
>
    nmap [<Space> <Plug>(PutBlankLinesAbove)
    nmap ]<Space> <Plug>(PutBlankLinesBelow)
<
REQUIREMENTS					*put_blank_lines-requirements*

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

MAPPINGS					*put_blank_lines-mappings*

						*<Plug>(PutBlankLinesAbove)*
The `<Plug>(PutBlankLinesAbove)` target inserts a blank line above the current
line. Mappings through it can be prefixed with an optional count.

						*<Plug>(PutBlankLinesBelow)*
The `<Plug>(PutBlankLinesBelow)` target inserts a blank line below the current
line. Mappings through it can be prefixed with an optional count.

AUTHOR						*put_blank_lines-author*

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

LICENSE						*put_blank_lines-license*

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

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