Ⅰ. 插件描述
Full-screen mode for Vim on GNU/LinuxⅡ. 基本信息
|
Ⅲ. 安装方法
使用Vundle管理器安装
在你的.vimrc下添加:Plugin 'kabbamine/vullscreen'
… 然后在Vim中运行以下命令:
:source %
:PluginInstall
对于Vundle版本 < 0.10.2,请用上面的Bundle替换Plugin。
使用NeoBundle管理器安装
在你的.vimrc下添加:NeoBundle 'kabbamine/vullscreen'
… 然后在Vim中运行以下命令:
:source %
:NeoBundleInstall
使用VimPlug管理器安装
在你的.vimrc下添加:Plug 'kabbamine/vullscreen'
… 然后在Vim中运行以下命令:
:source %
:PlugInstall
使用Pathogen管理器安装
在终端中运行以下命令:cd ~/.vim/bundle
git clone https://github.com/kabbamine/vullscreen.vim
Ⅳ. 文档说明
# VullScreen, Fullscreen mode for Vim
Vull..what?
Nothing fancy here (Except the strange name), vullScreen is a small vim plugin that allows you to toggle Vim in fullscreen mode on GNU/Linux.
I'm talking about a real fullscreen mode, no menu and no toolbars as shown in the following gif.

Installation
VullScreen requires wmctrl (Present in the default repositories of most GNU/Linux distributions), so install it using your preferred packet manager.
Then, use your preferred method to install the plugin (I recommend using a plugin manager as Vim-plug, Vundle or NeoBundle...)
| Plugin manager | In vimrc | Installation command |
|---|---|---|
Vim-plug | Plug 'KabbAmine/vullScreen.vim' | PlugInstall |
Vundle | Plugin 'KabbAmine/vullScreen.vim' | PluginInstall |
NeoBundle | NeoBundle 'KabbAmine/vullScreen.vim' | NeoBundleInstall |
How to use?
With the command:
:VullScreenOr using the key <F11> in both NORMAL and INSERT mode.
Why F11?
Because its nice and common to a lot of programs, but if you want to change it to something else simply add to your vimrc:
let g:vullscreen_key = '<SOMETHING ELSE>'Notes
You don't really need this plugin if you're using Vim on a terminal (The fullscreen option is included in most graphical terminals).
Thanks
To wmctrl's author.
To Bram Moolenaar for creating the best piece of software in the world :heart:
To you if you're using vullScreen.