aboutsummaryrefslogtreecommitdiff
path: root/README.markdown
diff options
context:
space:
mode:
authorTom Ryder <tom@sanctum.geek.nz>2018-06-02 14:54:16 +1200
committerTom Ryder <tom@sanctum.geek.nz>2018-06-02 14:54:16 +1200
commitc25c045419bf818ff4a6474600e92a29f7ee7c99 (patch)
tree59c37b44f0e45c176bd69ba8fb872e2ecddf2793 /README.markdown
downloadvim-put-blank-lines-c25c045419bf818ff4a6474600e92a29f7ee7c99.tar.gz
vim-put-blank-lines-c25c045419bf818ff4a6474600e92a29f7ee7c99.zip
Initial commitv0.1.0
Untimely ripp'd from unimpaired.vim (essentially) and repackaged.
Diffstat (limited to 'README.markdown')
-rw-r--r--README.markdown30
1 files changed, 30 insertions, 0 deletions
diff --git a/README.markdown b/README.markdown
new file mode 100644
index 0000000..b60a433
--- /dev/null
+++ b/README.markdown
@@ -0,0 +1,30 @@
+put\_blank\_lines.vim
+=====================
+
+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][1]. It still works with [repeat.vim][2], 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
+-------------
+
+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/