gabrielelana / vim-markdown

Markdown for Vim: a complete environment to create Markdown files with a syntax highlight that doesn't suck!
MIT License
741 stars 58 forks source link

add option to enable insert mode leader mappings with a default off off ... #9

Closed wilmoore closed 10 years ago

wilmoore commented 10 years ago

This is a follow-up to #8 which defaulted to having g:markdown_enable_insert_mode_mappings disabled.

After further investigation, I've found that there is a more friendly avenue as follows:

This means that OOTB, a user gets the nice default handling of:

  1. [un]indenting empty list items on [s-]tab.
  2. removing empty list items on .
  3. formatting tables.
  4. normal and visual mode leader mappings for block editing (e) and table formatting (ft).

This also means that if a user wants to have the insert mode leader mappings, they only need to do:

let g:markdown_enable_insert_mode_leader_mappings = 1

Documentation has also been updated to match updated settings.

gabrielelana commented 10 years ago

Nice, I agree, that’s a better solution, thank you! :smile:

wilmoore commented 10 years ago

Nice, I agree, that’s a better solution, thank you!

Thanks...glad you agree.

BTW, I should be thanking you. This plugin is awesome.

gabrielelana commented 10 years ago

BTW, I should be thanking you. This plugin is awesome.

You’re welcome, glad you like it :wink: