Ⅰ. 插件描述
navigate vimfiler by typingⅡ. 基本信息
|
Ⅲ. 安装方法
使用Vundle管理器安装
在你的.vimrc下添加:Plugin 'romgrk/vimfiler-prompt'
… 然后在Vim中运行以下命令:
:source %
:PluginInstall
对于Vundle版本 < 0.10.2,请用上面的Bundle替换Plugin。
使用NeoBundle管理器安装
在你的.vimrc下添加:NeoBundle 'romgrk/vimfiler-prompt'
… 然后在Vim中运行以下命令:
:source %
:NeoBundleInstall
使用VimPlug管理器安装
在你的.vimrc下添加:Plug 'romgrk/vimfiler-prompt'
… 然后在Vim中运行以下命令:
:source %
:PlugInstall
使用Pathogen管理器安装
在终端中运行以下命令:cd ~/.vim/bundle
git clone https://github.com/romgrk/vimfiler-prompt
Ⅳ. 文档说明
# Vimfiler prompt
Navigate VimFiler by typing + autocompletion

Usage
Command: VimFilerPrompt
Map something to VimFilerPrompt, and that's it.
autocmd FileType vimfiler nmap <buffer> i :VimFilerPrompt<CR>Mappings
<TAB> : autocomplete; if there is only 1 match, jumps directly
<S-TAB>: previous completion
<CR>, /: jump
..: parent directory
Highlight groups
hi! FilerCursor cterm=reverse ctermfg=12 ctermbg=8 guifg=#000000 guibg=#efefef gui=NONE
hi! FilerSelected cterm=NONE ctermfg=7 ctermbg=4 guifg=#efefef guibg=#599eff gui=NONE
hi! FilerActive cterm=NONE ctermfg=7 ctermbg=4 guifg=#efefef guibg=#505050 gui=NONE
hi! FilerMatch cterm=NONE ctermfg=NONE ctermbg=NONE guifg=NONE guibg=NONE gui=NONE
hi! FilerNoMatch cterm=NONE ctermfg=1 ctermbg=NONE guifg=#9a9a9a guibg=NONE gui=NONE
hi! def link FilerPrompt Question
hi! def link FilerInput MoreMsg
hi! def link FilerCompletion Comment