문제

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

도움이 되었습니까?

해결책

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.

라이센스 : CC-BY-SA ~와 함께 속성
제휴하지 않습니다 StackOverflow
scroll top