如题,用 Vim 来写 LaTeX,有什么不错的插件可以分享的?自动补全,语法高亮等等都可以,有配置教程就更好了。。
1
yzlnew 2019-03-21 10:05:56 +08:00
vimtex
|
2
ztnuaa 2019-03-21 14:42:36 +08:00
我用的 latex-suite,感觉蛮好用的.
Plug 'vim-latex/vim-latex' 比如输入 figure 再按 F5 会自动补全 figure 环境.非常方便 我刚开始用的时候好像是参考的这个教程: https://www.jianshu.com/p/fe6ce57b3aca |
3
leomikezee 2019-03-21 14:45:46 +08:00 via iPhone
|
5
quinoa42 2019-03-21 14:52:08 +08:00
vimtex 用了挺久了,很好用
|
6
ztnuaa 2019-03-21 14:59:08 +08:00
@jdhao 我没有用过 vimtex,不过我看到 vimtex 的 Readme 中有描述二者的区别:
https://github.com/lervag/vimtex The main difference between vimtex and LaTeX-Suite (aka vim-latex) is probably that vimtex does not try to implement a full fledged IDE for LaTeX inside Vim. E.g.: vimtex does not provide a full snippet feature, because this is better handled by UltiSnips or neosnippet or similar snippet engines. vimtex builds upon Vim principles: It provides text objects for environments, inline math, it provides motions for sections and paragraphs vimtex uses latexrun or latexmk for compilation with a callback feature to get instant feedback on compilation errors vimtex is very modular: if you don't like a feature, you can turn it off. |