tpope / vim-markdown

Vim Markdown runtime files
1.23k stars 191 forks source link

Update [[ and ]] mappings #155

Closed gpanders closed 4 years ago

gpanders commented 4 years ago
  1. Add support for setext style headings
  2. Use the 's' flag in search() to set the ' mark instead of using m'
  3. Fix the guard. Before, the maps would still be created if, e.g. g:no_markdown_maps was set but g:no_plugin_maps was unset. Likewise if g:no_plugin_maps was set but g:no_markdown_maps was unset. Only create the maps if both g:no_plugin_maps and g:no_markdown_maps are unset.