aboutsummaryrefslogtreecommitdiff
path: root/plugin
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 /plugin
downloadvim-paste-insert-d754e506fdfb10688d721935c01d2615d11b2a12.tar.gz
vim-paste-insert-d754e506fdfb10688d721935c01d2615d11b2a12.zip
First versionv0.1.0
Diffstat (limited to 'plugin')
-rw-r--r--plugin/paste_insert.vim8
1 files changed, 8 insertions, 0 deletions
diff --git a/plugin/paste_insert.vim b/plugin/paste_insert.vim
new file mode 100644
index 0000000..2c17f80
--- /dev/null
+++ b/plugin/paste_insert.vim
@@ -0,0 +1,8 @@
+if exists('loaded_paste_insert') || &compatible
+ finish
+endif
+let loaded_paste_insert = 1
+command! -bar PasteInsert
+ \ call paste_insert#()
+nnoremap <Plug>PasteInsert
+ \ :<C-U>PasteInsert<CR>