aboutsummaryrefslogtreecommitdiff
path: root/vim/plugin
diff options
context:
space:
mode:
Diffstat (limited to 'vim/plugin')
-rw-r--r--vim/plugin/paste_insert.vim6
-rw-r--r--vim/plugin/spellfile_local.vim2
2 files changed, 7 insertions, 1 deletions
diff --git a/vim/plugin/paste_insert.vim b/vim/plugin/paste_insert.vim
new file mode 100644
index 00000000..be578746
--- /dev/null
+++ b/vim/plugin/paste_insert.vim
@@ -0,0 +1,6 @@
+if exists('loaded_paste_insert')
+ finish
+endif
+let loaded_paste_insert = 1
+command! -bar PasteInsert
+ \ call paste_insert#()
diff --git a/vim/plugin/spellfile_local.vim b/vim/plugin/spellfile_local.vim
index b04b7573..c026d626 100644
--- a/vim/plugin/spellfile_local.vim
+++ b/vim/plugin/spellfile_local.vim
@@ -10,7 +10,7 @@ let s:spellfile = join([
Establish $MYVIM/cache/spell
execute 'set spellfile=$MYVIM/cache/spell/'.s:spellfile
-command! AddLocalSpellFile
+command! -bar AddLocalSpellFile
\ call spellfile_local#()
augroup spellfile_local