" zipPlugin.vim: Handles browsing zipfiles" PLUGIN PORTION" Date: Sep 13, 2016" Maintainer: Charles E Campbell <NdrOchip@ScampbellPfamily.AbizM-NOSPAM>" License: Vim License (see vim's :help license)" Copyright: Copyright (C) 2005-2016 Charles E. Campbell {{{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: {{{1if &cp || exists("g:loaded_zipPlugin")finishendiflet g:loaded_zipPlugin = "v28"let s:keepcpo = &cposet cpo&vim" ---------------------------------------------------------------------" Options: {{{1if !exists("g:zipPlugin_ext")let g:zipPlugin_ext='*.apk,*.celzip,*.crtx,*.docm,*.docx,*.dotm,*.dotx,*.ear,*.epub,*.gcsx,*.glox,*.gqsx,*.ja,*.jar,*.kmz,*.oxt,*.potm,*.potx,*.ppam,*.ppsm,*.ppsx,*.pptm,*.pptx,*.sldx,*.thmx,*.vdw,*.war,*.wsz,*.xap,*.xlam,*.xlam,*.xlsb,*.xlsm,*.xlsx,*.xltm,*.xltx,*.xpi,*.zip'endif" ---------------------------------------------------------------------" Public Interface: {{{1augroup zipau!au BufReadCmd zipfile:* call zip#Read(expand("<amatch>"), 1)au FileReadCmd zipfile:* call zip#Read(expand("<amatch>"), 0)au BufWriteCmd zipfile:* call zip#Write(expand("<amatch>"))au FileWriteCmd zipfile:* call zip#Write(expand("<amatch>"))if has("unix")au BufReadCmd zipfile:*/* call zip#Read(expand("<amatch>"), 1)au FileReadCmd zipfile:*/* call zip#Read(expand("<amatch>"), 0)au BufWriteCmd zipfile:*/* call zip#Write(expand("<amatch>"))au FileWriteCmd zipfile:*/* call zip#Write(expand("<amatch>"))endifexe "au BufReadCmd ".g:zipPlugin_ext.' call zip#Browse(expand("<amatch>"))'augroup END" ---------------------------------------------------------------------" Restoration And Modelines: {{{1" vim: fdm=markerlet &cpo= s:keepcpounlet s:keepcpo
此处可能存在不合适展示的内容,页面不予展示。您可通过相关编辑功能自查并修改。
如您确认内容无涉及 不当用语 / 纯广告导流 / 暴力 / 低俗色情 / 侵权 / 盗版 / 虚假 / 无价值内容或违法国家有关法律法规的内容,可点击提交进行申诉,我们将尽快为您处理。