Ⅰ. 插件描述
texlog.vim - Syntax highlighting and folding for TeX/LaTeX log filesⅡ. 基本信息
|
Ⅲ. 安装方法
使用Vundle管理器安装
在你的.vimrc下添加:Plugin 'glts/texlog-vim'
… 然后在Vim中运行以下命令:
:source %
:PluginInstall
对于Vundle版本 < 0.10.2,请用上面的Bundle替换Plugin。
使用NeoBundle管理器安装
在你的.vimrc下添加:NeoBundle 'glts/texlog-vim'
… 然后在Vim中运行以下命令:
:source %
:NeoBundleInstall
使用VimPlug管理器安装
在你的.vimrc下添加:Plug 'glts/texlog-vim'
… 然后在Vim中运行以下命令:
:source %
:PlugInstall
使用Pathogen管理器安装
在终端中运行以下命令:cd ~/.vim/bundle
git clone https://github.com/glts/vim-texlog
Ⅳ. 文档说明
texlog.vim
Syntax highlighting and simple folding for TeX and LaTeX log files.
This Vim syntax plugin introduces the filetype 'texlog'. This filetype is
detected automatically for files with the .log extension and the conventional
magical first line:
This is .*TeX.*, Version .*
Should filetype detection fail, you can set it yourself with ":setf texlog".
Installation
Move the syntax file into the ~/.vim/syntax directory and the filetype
detection script into ~/.vim/ftdetect (you may have to create that first). On
Windows, replace "~/.vim/" with "~vimfiles".
With a plugin manager such as pathogen, the usual procedure applies:
cd ~/.vim/bundle
git clone git://github.com/glts/vim-texlog.git texlog