Ⅰ. 插件描述
Get your author onⅡ. 基本信息
|
Ⅲ. 安装方法
使用Vundle管理器安装
在你的.vimrc下添加:Plugin 'soares/write-vim-speak-now'
… 然后在Vim中运行以下命令:
:source %
:PluginInstall
对于Vundle版本 < 0.10.2,请用上面的Bundle替换Plugin。
使用NeoBundle管理器安装
在你的.vimrc下添加:NeoBundle 'soares/write-vim-speak-now'
… 然后在Vim中运行以下命令:
:source %
:NeoBundleInstall
使用VimPlug管理器安装
在你的.vimrc下添加:Plug 'soares/write-vim-speak-now'
… 然后在Vim中运行以下命令:
:source %
:PlugInstall
使用Pathogen管理器安装
在终端中运行以下命令:cd ~/.vim/bundle
git clone https://github.com/soares/write.vim
Ⅳ. 文档说明
# Write.vim
Get your author on
Write.vim helps you turn vim into not just a code editor, but an editor for
plain text (novels, stories, papers, articles, etc.).
This plugin provides the commands :WriteOn, :WriteOff, and :Write. It's
recommended that you add your own mappings to trigger these commands, such as:
noremap <leader>w :WriteOn
noremap <leader>W :WriteOff
or
noremap <leader>w :Write
to toggle writer mode. Statusline hooks are also provided. See doc/write.txt for
details.
You can use the 'g:write_auto' setting to mark a list of filetypes that go into
write mode automatically.