diff options
| author | Ben Beltran <ben@freshout.us> | 2013-06-05 09:34:53 -0500 |
|---|---|---|
| committer | Ben Beltran <ben@freshout.us> | 2013-06-05 09:34:53 -0500 |
| commit | e23d7a9f7363bdc69e95a1df31e093db15459fcf (patch) | |
| tree | ca013667439bad6c4fc672b790c1a14d0d71566f /vim/plugin/ZoomWinPlugin.vim | |
| parent | 547f6d2a3743174ff385ba239665b5de1964a043 (diff) | |
A whole bunch of new additions to the submodules
Diffstat (limited to 'vim/plugin/ZoomWinPlugin.vim')
| -rw-r--r-- | vim/plugin/ZoomWinPlugin.vim | 49 |
1 files changed, 0 insertions, 49 deletions
diff --git a/vim/plugin/ZoomWinPlugin.vim b/vim/plugin/ZoomWinPlugin.vim deleted file mode 100644 index 3f24a7d..0000000 --- a/vim/plugin/ZoomWinPlugin.vim +++ /dev/null @@ -1,49 +0,0 @@ -" ZoomWin: Brief-like ability to zoom into/out-of a window -" Author: Charles Campbell -" original version by Ron Aaron -" Date: Jan 16, 2009 -" Version: 23e ASTRO-ONLY -" History: see :help zoomwin-history {{{1 -" GetLatestVimScripts: 508 1 :AutoInstall: ZoomWin.vim - -" --------------------------------------------------------------------- -" Load Once: {{{1 -if &cp || exists("g:loaded_ZoomWinPlugin") - finish -endif -if v:version < 702 - echohl WarningMsg - echo "***warning*** this version of ZoomWin needs vim 7.2" - echohl Normal - finish -endif -let s:keepcpo = &cpo -let g:loaded_ZoomWinPlugin = "v23" -set cpo&vim -"DechoTabOn - -" --------------------------------------------------------------------- -" Public Interface: {{{1 -if !hasmapto("<Plug>ZoomWin") - nmap <unique> <c-w>o <Plug>ZoomWin -endif -nnoremap <silent> <script> <Plug>ZoomWin :set lz<CR>:silent call ZoomWin#ZoomWin()<CR>:set nolz<CR> -com! ZoomWin :set lz|silent call ZoomWin#ZoomWin()|set nolz - -au VimLeave * call ZoomWin#CleanupSessionFile() - -" --------------------------------------------------------------------- -" ZoomWin: toggles between a single-window and a multi-window layout {{{1 -" The original version was by Ron Aaron. -" This function provides compatibility with previous versions. -fun! ZoomWin() - call ZoomWin#ZoomWin() -endfun - -" --------------------------------------------------------------------- -" Restore: {{{1 -let &cpo= s:keepcpo -unlet s:keepcpo -" --------------------------------------------------------------------- -" Modelines: {{{1 -" vim: ts=4 fdm=marker |