Ⅰ. 插件描述
color scheme to mimic writeroom/darkroom editorsⅡ. 基本信息
|
Ⅲ. 安装方法
使用Vundle管理器安装
在你的.vimrc下添加:Plugin '/darkroom'
… 然后在Vim中运行以下命令:
:source %
:PluginInstall
对于Vundle版本 < 0.10.2,请用上面的Bundle替换Plugin。
使用NeoBundle管理器安装
在你的.vimrc下添加:NeoBundle '/darkroom'
… 然后在Vim中运行以下命令:
:source %
:NeoBundleInstall
使用VimPlug管理器安装
在你的.vimrc下添加:Plug '/darkroom'
… 然后在Vim中运行以下命令:
:source %
:PlugInstall
使用Pathogen管理器安装
在终端中运行以下命令:cd ~/.vim/bundle
git clone https://github.com/vim-scripts/darkroom
Ⅳ. 文档说明
This is my attempt to create a simple WriteRoom/DarkRoom like environment in Vim.
It is probably not ready for prime-time yet.
It will almost certainly interact badly with any other plugins/scripts that hack buffers as it uses two hidden buffers to get the column feel of DarkRoom.
You will want to ":set wrap lbr" for it to work most effectively.
You will want to maximize vim before calling ":colorscheme darkroom" for it to look reasonable.
You will also need to use :qa to exit (or :q several times in succession)