Vim编辑器有很多粉丝和拥趸,当然,与之相应的emacs也有大量的用户和拥趸。从一般用户来看,vim的话习惯上更快上手些。与LaTeX相关的插件,大家一般比较熟悉的是Latex suite,今天给各位推荐另一个插件LaTeX box插件,其定制性,易用性蛮不错的,Vim用户可以下载试用试用。 github-latexbox 其主要特点如下:

  • Background compilation using latexmk.
  • Completion for commands, environments, labels, bibtex entries, and inline maths.
  • A simple table of contents improving the navigation of large files.
  • Smart indentation.
  • Highlight matching \begin/\end and \left\right pairs.
  • Motion between \begin/\end and \left\right pairs with the % key.
  • Motion through brackets/braces (with user-defined keys).
  • Environment objects (e.g., select environement with "vie" or "vae").
  • Inline math objects (e.g., select inline math with "vi$" or "va$").
  • Folding of parts (part/chapter/section/etc) and environments.
  • OmniCompletion for bibliography entries respects BibLaTeX's \addbibresource,\addglobalbib and \addsectionbib commands.
  • The table of contents functionality does not depend anymore on the assumption that\@writefile{toc}{\contentsline ...} entries in the *.aux file always occur at the start of some line.
  • Completion of \ref{...} commands was completely rewritten. It is now able to handle\@newlabel{label}{{number}{page}...} entries in the *.aux file even if number or pagecontain arbitrary nested levels of braces. Labels are additionally held in a cache per *.aux file, which is updated only if the modification time of the file changes.
  • The table of contents now opens files different from the one currently being edited in a new buffer. (I actually think, that this behaviour was implemented already, but I could not get it working.) To make this work, LaTeX-Box is not loaded per buffer but globally.

This plugins aims at being lightweight and simple. For more fully-fledged plugins, see:

  • LaTeX-Suite: vimscript#475
  • AutomaticTexPlugin: vimscript#2945

下载区

本站下载:LaTeX-Box-master 选自:https://github.com/LaTeX-Box-Team/LaTeX-Box

点赞(0)

评论列表 共有 0 条评论

暂无评论
立即
投稿

微信公众账号

微信扫一扫加关注

发表
评论
返回
顶部