summaryrefslogtreecommitdiff
path: root/runtime/plugin/tarPlugin.vim
diff options
context:
space:
mode:
Diffstat (limited to 'runtime/plugin/tarPlugin.vim')
-rw-r--r--runtime/plugin/tarPlugin.vim16
1 files changed, 9 insertions, 7 deletions
diff --git a/runtime/plugin/tarPlugin.vim b/runtime/plugin/tarPlugin.vim
index 2ddf7f348..8232b46d5 100644
--- a/runtime/plugin/tarPlugin.vim
+++ b/runtime/plugin/tarPlugin.vim
@@ -14,7 +14,7 @@
if &cp || exists("g:loaded_tarPlugin")
finish
endif
-let g:loaded_tarPlugin = "v23"
+let g:loaded_tarPlugin = "v24"
let s:keepcpo = &cpo
set cpo&vim
@@ -34,13 +34,15 @@ augroup tar
au FileWriteCmd tarfile::*/* call tar#Write(expand("<amatch>"))
endif
- au BufReadCmd *.tar.gz call tar#Browse(expand("<amatch>"))
- au BufReadCmd *.tar call tar#Browse(expand("<amatch>"))
- au BufReadCmd *.lrp call tar#Browse(expand("<amatch>"))
- au BufReadCmd *.tar.bz2 call tar#Browse(expand("<amatch>"))
- au BufReadCmd *.tar.Z call tar#Browse(expand("<amatch>"))
- au BufReadCmd *.tgz call tar#Browse(expand("<amatch>"))
+ au BufReadCmd *.tar.gz call tar#Browse(expand("<amatch>"))
+ au BufReadCmd *.tar call tar#Browse(expand("<amatch>"))
+ au BufReadCmd *.lrp call tar#Browse(expand("<amatch>"))
+ au BufReadCmd *.tar.bz2 call tar#Browse(expand("<amatch>"))
+ au BufReadCmd *.tar.Z call tar#Browse(expand("<amatch>"))
+ au BufReadCmd *.tgz call tar#Browse(expand("<amatch>"))
+ au BufReadCmd *.tar.lzma call tar#Browse(expand("<amatch>"))
augroup END
+com! -nargs=? -complete=file Vimuntar call tar#Vimuntar(<q-args>)
" ---------------------------------------------------------------------
" Restoration And Modelines: {{{1