Ⅰ. 插件描述
Fork from https://github.com/gabrielelana/vim-markdown with conceal support and reduced mappings.Ⅱ. 基本信息
|
Ⅲ. 安装方法
使用Vundle管理器安装
在你的.vimrc下添加:Plugin 'tamlok/vim-markdown-may-fear-less'
… 然后在Vim中运行以下命令:
:source %
:PluginInstall
对于Vundle版本 < 0.10.2,请用上面的Bundle替换Plugin。
使用NeoBundle管理器安装
在你的.vimrc下添加:NeoBundle 'tamlok/vim-markdown-may-fear-less'
… 然后在Vim中运行以下命令:
:source %
:NeoBundleInstall
使用VimPlug管理器安装
在你的.vimrc下添加:Plug 'tamlok/vim-markdown-may-fear-less'
… 然后在Vim中运行以下命令:
:source %
:PlugInstall
使用Pathogen管理器安装
在终端中运行以下命令:cd ~/.vim/bundle
git clone https://github.com/tamlok/vim-markdown
Ⅳ. 文档说明
# Markdown for Vim
Fork from https://github.com/gabrielelana/vim-markdown.git.
Reduced for a more comfortable markdown editting experience.
Installation
If you use Vundle, add the following line to your ~/.vimrc:
Bundle 'tamlok/vim-markdown'
And then execute the following command in your shell:
$ vim +'PluginInstall! vim-markdown' +qall
You can update to the latest version with the following command in your shell:
$ vim +PluginUpdate
If you use NeoBundle, add the following line to your ~/.vimrc:
NeoBundle 'tamlok/vim-markdown'
And then execute the following command in your shell:
$ vim +NeoBundleInstall +qall
You can update to the latest version with the following command in your shell:
$ vim +NeoBundleInstall! +qall
If you use Pathogen, execute the following in your shell:
$ cd ~/.vim/bundle
$ git clone https://github.com/tamlok/vim-markdown.git
Configuration
let g:markdown_include_jekyll_support = 0to disable support for Jekyll files (enabled by default with:1)let g:markdown_enable_insert_mode_mappings = 0to disable insert mode mappings (enabled by default with:1)
let g:markdown_enable_spell_checking = 0to disable spell checking (enabled by default with:1)let g:markdown_enable_conceal = 1to enable conceal for italic, bold, inline-code and link (disabled by default with:0)
Motions
]]start of the next header[[start of the previous header
While Editing in Insert Mode
|in a table triggers the format command<Tab>/<S-Tab>on a list item it will indent/unindent the item<Tab>/<S-Tab>on a blockquote it will increase/decrease the quote level<Enter>on a list item with no text in it (freshly created) it will delete everything till the column 0