H Xu wrote: > On Sun, Jul 18, 2010 at 7:29 PM, John Beckett <[email protected]>wrote: > > > H Xu wrote: > > > Is there a way to maximize the window of gvim? > > > > See: > > http://vim.wikia.com/wiki/Maximize_or_set_initial_window_size
> But this make my gnome almost crash.... try this for gnone: sudo apt-get install wmctrl add function into .vimrc: function Maximize_Window() silent !wmctrl -r :ACTIVE: -b add,maximized_vert,maximized_horz endfunction define alias in .bashrc: alias gvim='gvim -c "call Maximize_Window()"' or call gvim in: gvim -c "call Maximize_Window()" -- You received this message from the "vim_use" maillist. Do not top-post! Type your reply below the text you are replying to. For more information, visit http://www.vim.org/maillist.php
