Ⅰ. 插件描述
Syntax highlighting support for logfile created by log4j.Ⅱ. 基本信息
|
Ⅲ. 安装方法
使用Vundle管理器安装
在你的.vimrc下添加:Plugin 'jintian/vim-logfile'
… 然后在Vim中运行以下命令:
:source %
:PluginInstall
对于Vundle版本 < 0.10.2,请用上面的Bundle替换Plugin。
使用NeoBundle管理器安装
在你的.vimrc下添加:NeoBundle 'jintian/vim-logfile'
… 然后在Vim中运行以下命令:
:source %
:NeoBundleInstall
使用VimPlug管理器安装
在你的.vimrc下添加:Plug 'jintian/vim-logfile'
… 然后在Vim中运行以下命令:
:source %
:PlugInstall
使用Pathogen管理器安装
在终端中运行以下命令:cd ~/.vim/bundle
git clone https://github.com/jintian/vim-logfile
Ⅳ. 文档说明
# Vim-logfile
This plugin is used for syntax highlighting for log file created by log4j.
中文指南
Preview

Installation
Install with Vundle
Edit your vimrc:
Bundle "lepture/vim-velocity"
and install it:
:so ~/.vimrc
:BundleInstall
Install with pathogen
Add a submodule:
git submodule add git://github.com/Jintian/vim-logfile.git ~/.vim/bundle/logfile
Others
git clone git://github.com/Jintian/vim-logfile.git
cp vim-logfile/syntax/logfile.vim ~/.vim/syntax/
cp vim-logfile/ftdetect/logfile.vim ~/.vim/ftdetect/