diff options
Diffstat (limited to 'vim/plugin')
-rw-r--r-- | vim/plugin/dist.vim | 2 | ||||
-rw-r--r-- | vim/plugin/matchit.vim | 2 | ||||
-rw-r--r-- | vim/plugin/paste_insert.vim | 8 | ||||
-rw-r--r-- | vim/plugin/put_date.vim | 6 | ||||
-rw-r--r-- | vim/plugin/spellfile_local.vim | 19 | ||||
-rw-r--r-- | vim/plugin/utc.vim | 6 |
6 files changed, 3 insertions, 40 deletions
diff --git a/vim/plugin/dist.vim b/vim/plugin/dist.vim index 3a84abaa..94974f5f 100644 --- a/vim/plugin/dist.vim +++ b/vim/plugin/dist.vim @@ -14,3 +14,5 @@ let loaded_netrwPlugin = 1 let loaded_rrhelper = 1 " I don't need extra spelling files let loaded_spellfile_plugin = 1 +" No thanks, just plain `less` is fine for manual pages +let loaded_manpager_plugin = 1 diff --git a/vim/plugin/matchit.vim b/vim/plugin/matchit.vim index f842bd9c..392b2728 100644 --- a/vim/plugin/matchit.vim +++ b/vim/plugin/matchit.vim @@ -1,5 +1,5 @@ " Get matchit.vim, one way or another -if has('packages') && !has('nvim') +if has('packages') packadd matchit else runtime macros/matchit.vim diff --git a/vim/plugin/paste_insert.vim b/vim/plugin/paste_insert.vim deleted file mode 100644 index 9cd5415e..00000000 --- a/vim/plugin/paste_insert.vim +++ /dev/null @@ -1,8 +0,0 @@ -if exists('loaded_paste_insert') - finish -endif -let loaded_paste_insert = 1 -command! -bar PasteInsert - \ call paste_insert#() -nnoremap <Plug>PasteInsert - \ :<C-U>PasteInsert<CR> diff --git a/vim/plugin/put_date.vim b/vim/plugin/put_date.vim deleted file mode 100644 index d911486e..00000000 --- a/vim/plugin/put_date.vim +++ /dev/null @@ -1,6 +0,0 @@ -if exists('loaded_put_date') - finish -endif -let loaded_put_date = 1 -command! -bar -range PutDate - \ <line1>put =strftime('%a, %d %b %Y %T %z') diff --git a/vim/plugin/spellfile_local.vim b/vim/plugin/spellfile_local.vim deleted file mode 100644 index c026d626..00000000 --- a/vim/plugin/spellfile_local.vim +++ /dev/null @@ -1,19 +0,0 @@ -if exists('loaded_spellfile_local') - finish -endif -let loaded_spellfile_local = 1 - -let s:spellfile = join([ - \ substitute(v:lang, '_.*', '', ''), - \ &encoding - \ ], '.') . '.add' -Establish $MYVIM/cache/spell -execute 'set spellfile=$MYVIM/cache/spell/'.s:spellfile - -command! -bar AddLocalSpellFile - \ call spellfile_local#() - -augroup spellfile_local - autocmd BufNew,BufRead * - \ AddLocalSpellFile -augroup END diff --git a/vim/plugin/utc.vim b/vim/plugin/utc.vim deleted file mode 100644 index 9b8b647a..00000000 --- a/vim/plugin/utc.vim +++ /dev/null @@ -1,6 +0,0 @@ -if exists('loaded_utc') - finish -endif -let loaded_utc = 1 -command! -bar -complete=command -nargs=1 UTC - \ call utc#(<q-args>) |