aboutsummaryrefslogtreecommitdiff
path: root/plugin/paste_insert.vim
diff options
context:
space:
mode:
Diffstat (limited to 'plugin/paste_insert.vim')
-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>