Ⅰ. 插件描述
A Vim extension that emulates iA Writer environment when editing Markdown, reStructuredText or text filesⅡ. 基本信息
|
Ⅲ. 安装方法
使用Vundle管理器安装
在你的.vimrc下添加:Plugin 'amix/vim-zenroom2'
… 然后在Vim中运行以下命令:
:source %
:PluginInstall
对于Vundle版本 < 0.10.2,请用上面的Bundle替换Plugin。
使用NeoBundle管理器安装
在你的.vimrc下添加:NeoBundle 'amix/vim-zenroom2'
… 然后在Vim中运行以下命令:
:source %
:NeoBundleInstall
使用VimPlug管理器安装
在你的.vimrc下添加:Plug 'amix/vim-zenroom2'
… 然后在Vim中运行以下命令:
:source %
:PlugInstall
使用Pathogen管理器安装
在终端中运行以下命令:cd ~/.vim/bundle
git clone https://github.com/amix/vim-zenroom2
Ⅳ. 文档说明
This is a Vim extension that emulates iA Writer environment when editing Markdown, reStructuredText or text files.
It requires goyo.vim and it works by setting global Goyo callbacks that triggers special setup for Markdown, reStructuredText and text files.
Please note that this might not work perfectly with your colorscheme. Patches are welcome to fix this :-)
Installation and usage
- Install goyo.vim
- In command mode type :Goyo
Additionally you may want to have a shortcut. Add this to your vimrc:
nnoremap <silent> <leader>z :Goyo<cr>