aboutsummaryrefslogtreecommitdiff
path: root/README.md
blob: 19da179cbdcd3fb4e50d6d743499b66f7027e099 (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
put\_blank\_lines.vim
=====================

This plugin provides mapping targets for inserting blank lines above or below
the current line without going into insert mode, including count prefixes and
repeating with the dot command.

The idea and insert method is lifted from the same mappings for
[unimpaired.vim][1], but called with `'operatorfunc'` to allow counts and
repeating without requiring [repeat.vim][2].

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)

License
-------

Copyright (c) [Tom Ryder][3].  Distributed under the same terms as Vim itself.
See `:help license`.

[1]: https://www.vim.org/scripts/script.php?script_id=1590
[2]: https://www.vim.org/scripts/script.php?script_id=2136
[3]: https://sanctum.geek.nz/