maximize.dll


Ⅰ. 插件描述

Maximizing plugin for Win32 gVim

Ⅱ. 基本信息

创建日期:  2005-06-15
使用用户:  4
Github星:  1
插件作者:  kAtremer

Ⅲ. 安装方法

使用Vundle管理器安装

在你的.vimrc下添加:
Plugin '/maximize-dll'
… 然后在Vim中运行以下命令:
:source %
:PluginInstall

对于Vundle版本 < 0.10.2,请用上面的Bundle替换Plugin。

使用NeoBundle管理器安装

在你的.vimrc下添加:
NeoBundle '/maximize-dll'
… 然后在Vim中运行以下命令:
:source %
:NeoBundleInstall

使用VimPlug管理器安装

在你的.vimrc下添加:
Plug '/maximize-dll'
… 然后在Vim中运行以下命令:
:source %
:PlugInstall

使用Pathogen管理器安装

在终端中运行以下命令:
cd ~/.vim/bundle
git clone https://github.com/vim-scripts/maximize.dll

Ⅳ. 文档说明

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.

添加新评论