diff --git a/plugin/tarPlugin.vim b/plugin/tarPlugin.vim deleted file mode 100644 index 2ddf7f348..000000000 --- a/plugin/tarPlugin.vim +++ /dev/null @@ -1,49 +0,0 @@ -" tarPlugin.vim -- a Vim plugin for browsing tarfiles -" Original was copyright (c) 2002, Michael C. Toren -" Modified by Charles E. Campbell, Jr. -" Distributed under the GNU General Public License. -" -" Updates are available from . If you -" find this script useful, or have suggestions for improvements, please -" let me know. -" Also look there for further comments and documentation. -" -" This part only sets the autocommands. The functions are in autoload/tar.vim. -" --------------------------------------------------------------------- -" Load Once: {{{1 -if &cp || exists("g:loaded_tarPlugin") - finish -endif -let g:loaded_tarPlugin = "v23" -let s:keepcpo = &cpo -set cpo&vim - -" --------------------------------------------------------------------- -" Public Interface: {{{1 -augroup tar - au! - au BufReadCmd tarfile::* call tar#Read(expand(""), 1) - au FileReadCmd tarfile::* call tar#Read(expand(""), 0) - au BufWriteCmd tarfile::* call tar#Write(expand("")) - au FileWriteCmd tarfile::* call tar#Write(expand("")) - - if has("unix") - au BufReadCmd tarfile::*/* call tar#Read(expand(""), 1) - au FileReadCmd tarfile::*/* call tar#Read(expand(""), 0) - au BufWriteCmd tarfile::*/* call tar#Write(expand("")) - au FileWriteCmd tarfile::*/* call tar#Write(expand("")) - endif - - au BufReadCmd *.tar.gz call tar#Browse(expand("")) - au BufReadCmd *.tar call tar#Browse(expand("")) - au BufReadCmd *.lrp call tar#Browse(expand("")) - au BufReadCmd *.tar.bz2 call tar#Browse(expand("")) - au BufReadCmd *.tar.Z call tar#Browse(expand("")) - au BufReadCmd *.tgz call tar#Browse(expand("")) -augroup END - -" --------------------------------------------------------------------- -" Restoration And Modelines: {{{1 -" vim: fdm=marker -let &cpo= s:keepcpo -unlet s:keepcpo diff --git a/plugin/zipPlugin.vim b/plugin/zipPlugin.vim deleted file mode 100644 index b80ecc610..000000000 --- a/plugin/zipPlugin.vim +++ /dev/null @@ -1,50 +0,0 @@ -" zipPlugin.vim: Handles browsing zipfiles -" PLUGIN PORTION -" Date: Oct 05, 2007 -" Maintainer: Charles E Campbell, Jr -" License: Vim License (see vim's :help license) -" Copyright: Copyright (C) 2005,2006 Charles E. Campbell, Jr. {{{1 -" Permission is hereby granted to use and distribute this code, -" with or without modifications, provided that this copyright -" notice is copied with it. Like anything else that's free, -" zipPlugin.vim is provided *as is* and comes with no warranty -" of any kind, either expressed or implied. By using this -" plugin, you agree that in no event will the copyright -" holder be liable for any damages resulting from the use -" of this software. -" -" (James 4:8 WEB) Draw near to God, and he will draw near to you. -" Cleanse your hands, you sinners; and purify your hearts, you double-minded. -" --------------------------------------------------------------------- -" Load Once: {{{1 -if &cp || exists("g:loaded_zipPlugin") - finish -endif -let g:loaded_zipPlugin = "v22" -let s:keepcpo = &cpo -set cpo&vim - -" --------------------------------------------------------------------- -" Public Interface: {{{1 -augroup zip - au! - au BufReadCmd zipfile:* call zip#Read(expand(""), 1) - au FileReadCmd zipfile:* call zip#Read(expand(""), 0) - au BufWriteCmd zipfile:* call zip#Write(expand("")) - au FileWriteCmd zipfile:* call zip#Write(expand("")) - - if has("unix") - au BufReadCmd zipfile:*/* call zip#Read(expand(""), 1) - au FileReadCmd zipfile:*/* call zip#Read(expand(""), 0) - au BufWriteCmd zipfile:*/* call zip#Write(expand("")) - au FileWriteCmd zipfile:*/* call zip#Write(expand("")) - endif - - au BufReadCmd *.zip,*.jar,*.xpi,*.war,*.ear call zip#Browse(expand("")) -augroup END - -" --------------------------------------------------------------------- -" Restoration And Modelines: {{{1 -" vim: fdm=marker -let &cpo= s:keepcpo -unlet s:keepcpo