Pergunta

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).

Foi útil?

Solução

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.

Licenciado em: CC-BY-SA com atribuição
Não afiliado a StackOverflow
scroll top