summaryrefslogtreecommitdiffstats
path: root/runtime/plugin/vimballPlugin.vim
diff options
context:
space:
mode:
authorBram Moolenaar <Bram@vim.org>2006-03-21 21:20:39 +0000
committerBram Moolenaar <Bram@vim.org>2006-03-21 21:20:39 +0000
commiteee697b748159dfc85f4dd9fe6478a31a1f9d145 (patch)
tree1db3f721e47f1e9a05a007488fdaa6b41a3f8816 /runtime/plugin/vimballPlugin.vim
parentb3656edcb96bd36277db157baec80cb5e7a6f534 (diff)
updated for version 7.0231
Diffstat (limited to 'runtime/plugin/vimballPlugin.vim')
-rw-r--r--runtime/plugin/vimballPlugin.vim30
1 files changed, 30 insertions, 0 deletions
diff --git a/runtime/plugin/vimballPlugin.vim b/runtime/plugin/vimballPlugin.vim
new file mode 100644
index 0000000000..cb714043a1
--- /dev/null
+++ b/runtime/plugin/vimballPlugin.vim
@@ -0,0 +1,30 @@
+" vimball : construct a file containing both paths and files
+" Author: Charles E. Campbell, Jr.
+" GetLatestVimScripts: 1502 1 :AutoInstall: vimball.vim
+" Copyright: (c) 2004-2006 by Charles E. Campbell, Jr.
+" The VIM LICENSE applies to Vimball.vim, and Vimball.txt
+" (see |copyright|) except use "Vimball" instead of "Vim".
+" No warranty, express or implied.
+" *** *** Use At-Your-Own-Risk! *** ***
+
+" ---------------------------------------------------------------------
+" Load Once: {{{1
+if &cp || exists("g:loaded_vimball")
+ finish
+endif
+
+let s:keepcpo= &cpo
+set cpo&vim
+
+" ------------------------------------------------------------------------------
+" Public Interface: {{{1
+com! -ra -na=+ -bang MkVimball call vimball#MkVimball(<line1>,<line2>,<bang>0,<f-args>)
+com! -na=0 UseVimball call vimball#Vimball(1)
+com! -na=0 VimballList call vimball#Vimball(0)
+au BufReadPost *.vba echohl WarningMsg | echo "Source this file to extract it! (:so %)" | echohl None
+
+let &cpo= s:keepcpo
+unlet s:keepcpo
+" =====================================================================
+" Modelines: {{{1
+" vim: fdm=marker