X-Git-Url: http://git.iain.cx/?a=blobdiff_plain;f=.vim%2Fplugin%2FZoomWin.vim;fp=.vim%2Fplugin%2FZoomWin.vim;h=0cfea922a83b6f1e9cafdcfdc50fbbb8e6f942ef;hb=697c079e13b3cc0f7bf8bee8013e876a6a1b327d;hp=0000000000000000000000000000000000000000;hpb=dfa89955cebc320a07b0228f743c000a838bf601;p=profile.git diff --git a/.vim/plugin/ZoomWin.vim b/.vim/plugin/ZoomWin.vim new file mode 100644 index 0000000..0cfea92 --- /dev/null +++ b/.vim/plugin/ZoomWin.vim @@ -0,0 +1,368 @@ +" ZoomWin: Brief-like ability to zoom into/out-of a window +" Author: Charles Campbell +" original version by Ron Aaron +" Date: Apr 24, 2008 +" Version: 23a ASTRO-ONLY +" History: see :help zoomwin-history {{{1 +" GetLatestVimScripts: 508 1 :AutoInstall: ZoomWin.vim + +" --------------------------------------------------------------------- +" Load Once: {{{1 +if &cp || exists("g:loaded_ZoomWin") + finish +endif +let s:keepcpo = &cpo +let g:loaded_ZoomWin = "v23a" +set cpo&vim +"DechoTabOn + +" --------------------------------------------------------------------- +" Public Interface: {{{1 +if !hasmapto("ZoomWin") + nmap o ZoomWin +endif +nnoremap