sponsor Vim development Vim logo Vim Book Ad

maximize.dll : Maximizing plugin for Win32 gVim

 script karma  Rating 87/38, Downloaded by 2440    Comments, bugs, improvements  Vim wiki

created by
kAtremer
 
script type
utility
 
description
Maximizes gVim window on startup.


Reason:

"simalt ~x" does not work in a Russian Win2000, although it did in WinME, with corresponding Russian letter instead of "x". Everything always works fullscreen on my computer, and Vim is the core part of my work, so I maximized its window by hands each time, and searched for an automated solution.


Details:

This can be done by a DLL, which must be called with libcallnr() function:

    call libcallnr('maximize', 'Maximize', 1)

It takes one numeric parameter: 1 means maximize the window and 0 restores it back. It returns 1 on success, 0 on fault.


ZIP archive is 4.4 Kb.
Source inside.
 
install details
Put maximize.vim and maximize.dll in $VIM\vimfiles\plugin

For Cream, you will also have to write:
    let g:CREAM_WINPOS=0
in your cream-conf.vim
 

rate this script Life Changing Helpful Unfulfilling 
script versions (upload new version)

Click on the package to download.

package script version date Vim version user release notes
maximize.zip 1.1a 2007-10-16 6.0 kAtremer - tidied up the files
- made maximize.vim for installation as a plugin (mainly to support Cream)
maximize.zip 1.0 2005-06-15 6.0 kAtremer Initial upload
ip used for rating: 54.237.197.160

If you have questions or remarks about this site, visit the vimonline development pages. Please use this site responsibly.
Questions about Vim should go to the maillist. Help Bram help Uganda.
   
SourceForge.net Logo