" " cream-menu-window.vim " " Cream -- An easy-to-use configuration of the famous Vim text editor " [ http://cream.sourceforge.net ] Copyright (C) 2001-2007 Steve Hall " " License: " This program is free software; you can redistribute it and/or modify " it under the terms of the GNU General Public License as published by " the Free Software Foundation; either version 2 of the License, or " (at your option) any later version. " [ http://www.gnu.org/licenses/gpl.html ] " " This program is distributed in the hope that it will be useful, but " WITHOUT ANY WARRANTY; without even the implied warranty of " MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU " General Public License for more details. " " You should have received a copy of the GNU General Public License " along with this program; if not, write to the Free Software " Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA " 02111-1307, USA. " function! Cream_menu_window() "anoremenu 80.100 &Window.-SEP100- anoremenu 80.101 &Window.Maximize\ (&Single) :call Cream_window_setup_maximize() anoremenu 80.102 &Window.Minimize\ (Hi&de) :call Cream_window_setup_minimize() anoremenu 80.103 &Window.Tile\ &Vertical :call Cream_window_setup_tile("vertical") anoremenu 80.104 &Window.Tile\ Hori&zontal :call Cream_window_setup_tile("horizontal") anoremenu 80.200 &Window.-SEP200- anoremenu 80.201 &Window.Sizes\ E&qual :call Cream_window_equal() anoremenu 80.202 &Window.Height\ Max\ &= :call Cream_window_height_max() anoremenu 80.203 &Window.Height\ Min\ &- :call Cream_window_height_min() anoremenu 80.204 &Window.&Width\ Max :call Cream_window_width_max() anoremenu 80.205 &Window.Widt&h\ Min :call Cream_window_width_min() "anoremenu 80.300 &Window.-SEP300- "anoremenu 80.302 &Window.Move\ To\ &Top K "anoremenu 80.303 &Window.Move\ To\ &Bottom J "anoremenu 80.304 &Window.Move\ To\ &Left\ side H "anoremenu 80.305 &Window.Move\ To\ &Right\ side L "anoremenu 80.350 &Window.-SEP350- "anoremenu 80.351 &Window.Rotate\ &Up R "anoremenu 80.352 &Window.Rotate\ &Down r anoremenu 80.400 &Window.-SEP400- anoremenu 80.401 &Window.Split\ New\ Pane\ Vertical :call Cream_window_new_ver() anoremenu 80.402 &Window.Split\ New\ Pane\ Horizontal :call Cream_window_new_hor() anoremenu 80.403 &Window.Split\ Existing\ Vertically :call Cream_window_split_exist_ver() anoremenu 80.404 &Window.Split\ Existing\ Horizontally :call Cream_window_split_exist_hor() " add tab handling functions to the menu anoremenu 80.450 &Window.-SEP450- anoremenu 80.451 &Window.&Tabs.Make\ Tab\ &First :call Cream_tab_move_first() anoremenu 80.452 &Window.&Tabs.Move\ Tab\ &Left :call Cream_tab_move_left() anoremenu 80.453 &Window.&Tabs.Move\ Tab\ &Right :call Cream_tab_move_right() anoremenu 80.454 &Window.&Tabs.Make\ Tab\ Las&t :call Cream_tab_move_last() anoremenu 80.455 &Window.&Tabs.-SEP455- anoremenu 80.460 &Window.&Tabs.R&efresh\ tabs :call Cream_tabpages_refresh() ":call Cream_tabpages_refresh() " OBSOLETE "anoremenu 80.500 &Window.-SEP500- "anoremenu 80.501 &Window.Start\ New\ Cream\ Instance :call Cream_session_new() "anoremenu 80.550 &Window.-SEP80550- anoremenu 80.551 &Window.Open\ File\ in\ Default\ &Application :call Cream_file_open_defaultapp() imenu 80.570 &Window.Open\ File\ E&xplorer :call Cream_open_fileexplorer() vmenu 80.571 &Window.Open\ File\ E&xplorer :call Cream_open_fileexplorer() anoremenu 80.700 &Window.-SEP700- anoremenu 80.701 &Window.&Calendar\ (toggle)Ctrl+F11 :call Cream_calendar() anoremenu 80.900 &Window.-SEP900- " buffers added here (elsewhere) endfunction call Cream_menu_window()