aboutsummaryrefslogtreecommitdiff
path: root/doc
diff options
context:
space:
mode:
authorTom Ryder <tom@sanctum.geek.nz>2019-06-19 22:35:51 +1200
committerTom Ryder <tom@sanctum.geek.nz>2019-06-19 22:35:51 +1200
commitd754e506fdfb10688d721935c01d2615d11b2a12 (patch)
treeb9141fc16a7d1318b890df6fc613234db2062682 /doc
downloadvim-paste-insert-d754e506fdfb10688d721935c01d2615d11b2a12.tar.gz
vim-paste-insert-d754e506fdfb10688d721935c01d2615d11b2a12.zip
First versionv0.1.0
Diffstat (limited to 'doc')
-rw-r--r--doc/paste_insert.txt36
1 files changed, 36 insertions, 0 deletions
diff --git a/doc/paste_insert.txt b/doc/paste_insert.txt
new file mode 100644
index 0000000..9b63079
--- /dev/null
+++ b/doc/paste_insert.txt
@@ -0,0 +1,36 @@
+*paste_insert.txt* For Vim version 7.0 Last change: 2019 Jun 19
+
+DESCRIPTION *paste_insert*
+
+This small plugin provides a simple "one shot paste" method, with a command or
+mapping to prefix opening an insert, with the 'paste' option automatically set
+after the insert ends, to avoid the annoyances caused by forgetting to do so.
+
+It includes a timeout if insert mode isn't entered within 'updatetime'
+seconds, or if the user navigates away from the buffer or window. It can also
+be cancelled with CTRL-C in normal mode.
+
+REQUIREMENTS *paste_insert-requirements*
+
+This plugin only loads if 'compatible' is not set.
+
+COMMANDS *paste_insert-commands*
+
+ *:PasteInsert*
+Enter the `:PasteInsert` command just before entering insert mode to set up
+the relevant hooks. It takes neither range prefix nor arguments.
+
+MAPPINGS *paste_insert-mappings*
+
+ *<Plug>(PasteInsert)*
+The `<Plug>(PasteInsert)` map in normal mode just does `:PasteInsert`.
+
+AUTHOR *paste_insert-author*
+
+Written and maintained by Tom Ryder <tom@sanctum.geek.nz>.
+
+LICENSE *paste_insert-license*
+
+Licensed for distribution under the same terms as Vim itself (see |license|).
+
+ vim:tw=78:ts=8:ft=help:norl: