0

In vim, the latex-suite plugin is for tex filetype. I want to apply the convenience of vim latex-suite plugin for markdown filetype. How can I do it?

EDIT: I want to use markdown syntax to take notes. But It's not convenient for me to type formula in the markdown file. It will be very convenient If the latex-suite macros/shortcuts can be used in markdown file(with the markdown highlight syntax).

Libin Wen
  • 434
  • 1
  • 5
  • 17

1 Answers1

3

In vim I set this

 :set ft=tex
 :set syntax=markdown

and then I have all the latex-suite macros and shortcuts working, while the syntax highlighting is set to markdown.

  • Great idea. Although the formula parts still have no highlights, it's good enough to quickly edit the formula! Thanks very much. – Libin Wen Feb 26 '14 at 00:13