summaryrefslogtreecommitdiff
path: root/runtime/plugin/tarPlugin.vim
diff options
context:
space:
mode:
authorBram Moolenaar <Bram@vim.org>2010-01-06 20:54:52 +0100
committerBram Moolenaar <Bram@vim.org>2010-01-06 20:54:52 +0100
commit5c73622a9066182ee4479fd7b3aa86e1825808c3 (patch)
treec92ed672cbb989fa3585387ebd4598f5bdfcc637 /runtime/plugin/tarPlugin.vim
parent8f3f58f2c361f1b7241128d9821f88d8a30aa066 (diff)
downloadvim-5c73622a9066182ee4479fd7b3aa86e1825808c3.zip
Update runtime files.
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