Ⅰ. 插件描述
Plugin to allow full screen use in gvim on WindowsⅡ. 基本信息
|
Ⅲ. 安装方法
使用Vundle管理器安装
在你的.vimrc下添加:Plugin 'derekmcloughlin/gvimfullscreen-win32'
… 然后在Vim中运行以下命令:
:source %
:PluginInstall
对于Vundle版本 < 0.10.2,请用上面的Bundle替换Plugin。
使用NeoBundle管理器安装
在你的.vimrc下添加:NeoBundle 'derekmcloughlin/gvimfullscreen-win32'
… 然后在Vim中运行以下命令:
:source %
:NeoBundleInstall
使用VimPlug管理器安装
在你的.vimrc下添加:Plug 'derekmcloughlin/gvimfullscreen-win32'
… 然后在Vim中运行以下命令:
:source %
:PlugInstall
使用Pathogen管理器安装
在终端中运行以下命令:cd ~/.vim/bundle
git clone https://github.com/derekmcloughlin/gvimfullscreen_win32
Ⅳ. 文档说明
gVimWin32FullScreen
Derek McLoughlin
- What is this
Put gvim into full screen in Microsoft Windows.
This is a copy of Yasuhiro Matsumoto's VimTweak's EnableMaximize
functionality modified to deal with window borders and making the
window overlap the task bar.
Note: this works on dual monitor configurations where the primary monitor is the
one on the left hand side. When the gvim window spans both monitors, it is maximised
to the monitor which contains most of the area of gvim's window.
- Compiling
Compile the DLL using any version of Visual C++ for Windows
Use the makefile - nmake
copy gvimfullscreen.dll to the directory that has gvim.exe
- Usage
Toggle
:call libcallnr("gvimfullscreen.dll", "ToggleFullScreen", 0)For example:
map <F11> <Esc>:call libcallnr("gvimfullscreen.dll", "ToggleFullScreen", 0)<CR>