Ⅰ. 插件描述
An iA Writer like markdown theme of vim.Ⅱ. 基本信息
|
Ⅲ. 安装方法
使用Vundle管理器安装
在你的.vimrc下添加:Plugin 'dm4/vim-writer'
… 然后在Vim中运行以下命令:
:source %
:PluginInstall
对于Vundle版本 < 0.10.2,请用上面的Bundle替换Plugin。
使用NeoBundle管理器安装
在你的.vimrc下添加:NeoBundle 'dm4/vim-writer'
… 然后在Vim中运行以下命令:
:source %
:NeoBundleInstall
使用VimPlug管理器安装
在你的.vimrc下添加:Plug 'dm4/vim-writer'
… 然后在Vim中运行以下命令:
:source %
:PlugInstall
使用Pathogen管理器安装
在终端中运行以下命令:cd ~/.vim/bundle
git clone https://github.com/dm4/vim-writer
Ⅳ. 文档说明
# vim-writer
An iA Writer like markdown theme of MacVim / gVim.
Installation
- Using Pathogen
cd ~/.vim/bundle
git clone https://github.com/dm4/vim-writer.gitUsing Vundle
Add `Bundle 'dm4/vim-writer'` to your `~/.vimrc` and then do `:BundleInstall` in vim.
Notice
By default, vim recognizes your .md file as modula2 file. You could add this to your .vimrc file to solve it:
autocmd BufReadPost,BufNewFile *.md set filetype=markdown
Credit
- Most of code is from this post.
- The jekyll syntax is from vim-markdown-jekyll.