From: Hiroshi Shirosaki Date: Fri, 20 Jun 2014 11:45:09 +0000 (+0900) Subject: Merge pull request #95 from cassava/patch-1 X-Git-Url: https://git.madduck.net/etc/vim.git/commitdiff_plain/55698854abe296deb5b698e9d2d1c2a92549aa77?hp=-c Merge pull request #95 from cassava/patch-1 Changing Vundle "Bundle" references to "Plugin" --- 55698854abe296deb5b698e9d2d1c2a92549aa77 diff --combined README.md index 7d75420,dd67309..20a74e3 --- a/README.md +++ b/README.md @@@ -6,12 -6,12 +6,12 @@@ Syntax highlighting, matching rules an If you use [Vundle](https://github.com/gmarik/vundle), add the following line to your `~/.vimrc`: - Bundle 'plasticboy/vim-markdown' + Plugin 'plasticboy/vim-markdown' And then run inside Vim: :so ~/.vimrc - :BundleInstall + :PluginInstall If you use [Pathogen](https://github.com/tpope/vim-pathogen), do this: @@@ -77,24 -77,6 +77,24 @@@ The following work on normal and visua - `:Toct`: Same as `:Toc` but in a new tab. - `:Tocv`: Same as `:Toc` for symmetry with `:Toch` and `Tocv`. +- `:SetexToAtx`: + + Convert all Setex style headers in buffer to Atx. + + If a range is given, e.g. hit `:` from visual mode, only operate on the range. + +- `:HeaderDecrease`: + + Decrease level of all headers in buffer: `h2` to `h1`, `h3` to `h2`, etc. + + If range is given, only operate in the range. + + If an `h1` would be decreased, abort. + + For simplicity of implementation, Setex headers are converted to Atx. + +- `:HeaderIncrease`: Analogous to `:HeaderDecrease`, but increase levels instead. + ## Credits The main contributors of vim-markdown are: