Ⅰ. 插件描述
search for the next syntax error detected by the vim highlighting mechanismⅡ. 基本信息
|
Ⅲ. 安装方法
使用Vundle管理器安装
在你的.vimrc下添加:Plugin '/searchsyntaxerror'
… 然后在Vim中运行以下命令:
:source %
:PluginInstall
对于Vundle版本 < 0.10.2,请用上面的Bundle替换Plugin。
使用NeoBundle管理器安装
在你的.vimrc下添加:NeoBundle '/searchsyntaxerror'
… 然后在Vim中运行以下命令:
:source %
:NeoBundleInstall
使用VimPlug管理器安装
在你的.vimrc下添加:Plug '/searchsyntaxerror'
… 然后在Vim中运行以下命令:
:source %
:PlugInstall
使用Pathogen管理器安装
在终端中运行以下命令:cd ~/.vim/bundle
git clone https://github.com/vim-scripts/SearchSyntaxError
Ⅳ. 文档说明
" This scritp searches for the next syntax error detected by the vim highlighting
" mechanism. To search for the next syntax error, issue command
" :ERR
" That all, folks.
"
" You can map this :ERR to your favorite key or key combination as follows:
"
" noremap <silent><C-K><C-E> :ERR<cr>
"
" For feedback, bugs and wishes: write to: iler.ml at gmail.com
"
" As a bonus, :ERRP searches backwards for the syntax error.
" And <Ctrl-K><Ctrl-E> is mapped to :ERR, unless somebody redefined it(
" (your vimrc or some other plugin).