vim-fullscreen


Ⅰ. 插件描述

Ⅱ. 基本信息

创建日期:  2015-03-05
使用用户:  1
Github星:  1
插件作者:  ruedigerha

Ⅲ. 安装方法

使用Vundle管理器安装

在你的.vimrc下添加:
Plugin 'ruedigerha/vim-fullscreen-better-than-revenge'
… 然后在Vim中运行以下命令:
:source %
:PluginInstall

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

使用NeoBundle管理器安装

在你的.vimrc下添加:
NeoBundle 'ruedigerha/vim-fullscreen-better-than-revenge'
… 然后在Vim中运行以下命令:
:source %
:NeoBundleInstall

使用VimPlug管理器安装

在你的.vimrc下添加:
Plug 'ruedigerha/vim-fullscreen-better-than-revenge'
… 然后在Vim中运行以下命令:
:source %
:PlugInstall

使用Pathogen管理器安装

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

Ⅳ. 文档说明

Vim Fullscreen

Fullscreen mode plugin for VIM.

I have seen that meanwhile there are a few of them. Pick whatever you like

  1. I had my reasons to write this, mostly for Windows, because I had issues
  2. other plugins: the Vim window would still be covered by the taskbar at

times, and an ugly grey border around the VIM text area window was left.

Features

  • Toggle Vim window fullscreen
  • Maximize Vim window (I like to do this on Windows on startup)
  • Works with MacVim and GVim on Windows (no fullscreen support on other
    systems yet)

Requirements

On Windows, "true" fullscreen and maximize functionality requires the Python
Win32 Extensions installed. Get them here:

Python Win32 Extensions on SourceForge

You will probably have to install the one matching the architecture of your
VIM.

Installation

Please use your favorite plugin manager. Depending on the plugin manager used,
the line to be added to your .vimrc should be one of:

NeoBundle 'ruedigerha/vim-fullscreen', { 'gui' : 1 }
Plug 'ruedigerha/vim-fullscreen'
Plugin 'ruedigerha/vim-fullscreen'

Usage

Offers two commands:

  • ToggleFullscreen (key mapping: <Plug>(fullscreen_toggle))
  • MaximizeWindow (key mapping: <Plug>(fullscreen_maximize))

They do what the names suggest. No surprises there.

The default key mapping is Ctrl-Return because it is slightly easier to type
than F11 on a notebook. You can map a different key for toggling fullscreen
mode on and off:

let g:vimfullscreen_default_keymap = 0
nmap <silent> <F11> <Plug>(fullscreen_toggle)

If you wish to maximize the VIM window on startup:

au GUIEnter * :MaximizeWindow

添加新评论