Ⅰ. 插件描述
DistractFreeⅡ. 基本信息
|
Ⅲ. 安装方法
使用Vundle管理器安装
在你的.vimrc下添加:Plugin 'chrisbra/distractfree'
… 然后在Vim中运行以下命令:
:source %
:PluginInstall
对于Vundle版本 < 0.10.2,请用上面的Bundle替换Plugin。
使用NeoBundle管理器安装
在你的.vimrc下添加:NeoBundle 'chrisbra/distractfree'
… 然后在Vim中运行以下命令:
:source %
:NeoBundleInstall
使用VimPlug管理器安装
在你的.vimrc下添加:Plug 'chrisbra/distractfree'
… 然后在Vim中运行以下命令:
:source %
:PlugInstall
使用Pathogen管理器安装
在终端中运行以下命令:cd ~/.vim/bundle
git clone https://github.com/chrisbra/distractfree
Ⅳ. 文档说明
#DistractFree Mode for Vim
A Vim plugin for enabling a distraction free writing mode
This plugin aims to make a distraction less mode for Vim similar to how WriteRoom DarkRoom or OmniWriter works.
Here is the screenshot:

Installation
Use the plugin manager of your choice. Or download the [stable][] version of the plugin, edit it with Vim (vim DistractFree-XXX.vmb) and simply source it (:so %). Restart and take a look at the help (:h DistractFree.txt)
Usage
Once installed, use :DistractFreeToggle to toggle between normal mode and distraction free mode.
License & Copyright
© 2009-2014 by Christian Brabandt. The Vim License applies. See :h license
NO WARRANTY, EXPRESS OR IMPLIED. USE AT-YOUR-OWN-RISK