Ⅰ. 插件描述
A source which uses result of everything (http://www.voidtools.com/) for unite.vimⅡ. 基本信息
|
Ⅲ. 安装方法
使用Vundle管理器安装
在你的.vimrc下添加:Plugin 'sgur/unite-everything'
… 然后在Vim中运行以下命令:
:source %
:PluginInstall
对于Vundle版本 < 0.10.2,请用上面的Bundle替换Plugin。
使用NeoBundle管理器安装
在你的.vimrc下添加:NeoBundle 'sgur/unite-everything'
… 然后在Vim中运行以下命令:
:source %
:NeoBundleInstall
使用VimPlug管理器安装
在你的.vimrc下添加:Plug 'sgur/unite-everything'
… 然后在Vim中运行以下命令:
:source %
:PlugInstall
使用Pathogen管理器安装
在终端中运行以下命令:cd ~/.vim/bundle
git clone https://github.com/sgur/unite-everything
Ⅳ. 文档说明
unite-everything
An unite.vim source to use with Everything
If you want to search asynchronously, vimproc.vim is required.
Usage:
Synchronous
:Unite everythingAsynchronous
:Unite everything/asyncCustomization:
Customize everything
'g:unite_source_everything_limit'
A number of output from everything.
Increase this makes more output candidates.
let g:unite_source_everything_limit = 100'g:unite_source_everything_full_path_search'
Setting 1 makes everything do a full path search.
let g:unite_source_everything_full_path_search = 0'g:unite_source_everything_posix_regexp_search'
Setting 1 makes everything search with basic POSIX regular expression.
let g:unite_source_everything_posix_regexp_search = 0'g:unite_source_everything_sort_by_full_path'
Setting 1 makes everything sort result by full path.
let g:unite_source_everything_sort_by_full_path = 0'g:unite_source_everything_case_sensitive_search'
Setting 1 makes everything do case sensitive search.
let g:unite_source_everything_case_sensitive_search = 0Customize unite-everything
'g:unite_source_everything_cmd_path'
Path to es.exe executable. Specifiy full path if not in $PATH.
let g:unite_source_everything_cmd_path = 'es.exe''g:unite_source_everything_ignore_pattern'
Exclude pattern for unite-everything source. Specify this vim regular expresion format.
'g:unite_source_everything_async_minimum_length'
Minimum characters to start search in :Unite everything/async.
let g:unite_source_everything_async_minimum_length = 3Requirements:
- unite.vim
- vimproc.vim
- Everything: Version 1.3 or newer is recommended
- es.exe
Install:
Make sure unite.vim vimproc.vim are avaiable.
I recommend install Everything with Everything Service for convince to use with es.exe.
Locate es.exe in $PATH or set the location to g:unite_source_everything_cmd_path.
License:
MIT License.
Author:
sgur <sgurrr+vim@gmail.com>