maxivim : Maximize/unmaximize gvim without window manager
script karma |
Rating 0/0,
Downloaded by 493 |
Comments, bugs, improvements
|
Vim wiki
|
created by |
Jim Knoble |
|
script type |
utility |
|
description |
In some environments (for example, KDE 3), gvim is unable to properly maximize or unmaximize itself, due to interactions with window managers or other issues.
Maxivim bypasses window managers, allowing you to maximize gvim vertically, horizontally, or both, and restore it from having maximized it.
Maxivim also allows you to set the initial size of your gvim windows by setting environment variables ($GVIM_LINES and $GVIM_COLUMNS).
(This used to work with Vim 6, but I've only recently tested on Vim 7). |
|
install details |
Put maxivim.vim into your vim plugins directory.
If desired, add one or more of the following to your ~/.gvimrc:
if has("gui_running")
" Enable keybindings for [F5], [F6], [F7], and [Shift+F6].
let g:maxivim_should_map_keys = 1
" Ask maxivim to resize your gvim windows to the default size.
let g:maxivim_should_resize_to_default = 1
" These override the values of $GVIM_COLUMNS and $GVIM_LINES.
let g:maxivim_default_columns = 100
let g:maxivim_default_lines = 50
endif
|
|
script versions (upload new version)
Click on the package to download.
ip used for rating: 18.118.120.204
|