More runtime file updates.

This commit is contained in:
Bram Moolenaar
2010-07-28 18:17:41 +02:00
parent 6e202e52b7
commit 477db060eb
10 changed files with 64 additions and 41 deletions

View File

@ -20,7 +20,7 @@
if &cp || exists("g:loaded_netrwPlugin")
finish
endif
let g:loaded_netrwPlugin = "v139"
let g:loaded_netrwPlugin = "v140"
if v:version < 702
echohl WarningMsg | echo "***netrw*** you need vim version 7.2 for this version of netrw" | echohl None
finish
@ -112,8 +112,9 @@ endfun
" ---------------------------------------------------------------------
" s:VimEnter: {{{2
fun! s:VimEnter(dirname)
let curwin= winnr()
windo if a:dirname != expand("%")|call s:LocalBrowse(expand("%:p"))|endif
1wincmd w
exe curwin."wincmd w"
endfun
" ---------------------------------------------------------------------

View File

@ -14,7 +14,7 @@
if &cp || exists("g:loaded_tarPlugin")
finish
endif
let g:loaded_tarPlugin = "v24"
let g:loaded_tarPlugin = "v25"
let s:keepcpo = &cpo
set cpo&vim
@ -41,6 +41,8 @@ augroup tar
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>"))
au BufReadCmd *.tar.xz call tar#Browse(expand("<amatch>"))
au BufReadCmd *.txz call tar#Browse(expand("<amatch>"))
augroup END
com! -nargs=? -complete=file Vimuntar call tar#Vimuntar(<q-args>)