Ⅰ. 插件描述
nallowing lines from current bufferⅡ. 基本信息
|
Ⅲ. 安装方法
使用Vundle管理器安装
在你的.vimrc下添加:Plugin 't9md/vim-unite-lines'
… 然后在Vim中运行以下命令:
:source %
:PluginInstall
对于Vundle版本 < 0.10.2,请用上面的Bundle替换Plugin。
使用NeoBundle管理器安装
在你的.vimrc下添加:NeoBundle 't9md/vim-unite-lines'
… 然后在Vim中运行以下命令:
:source %
:NeoBundleInstall
使用VimPlug管理器安装
在你的.vimrc下添加:Plug 't9md/vim-unite-lines'
… 然后在Vim中运行以下命令:
:source %
:PlugInstall
使用Pathogen管理器安装
在终端中运行以下命令:cd ~/.vim/bundle
git clone https://github.com/t9md/vim-unite-lines
Ⅳ. 文档说明
# Now, this Unite source is bundled in original unite.vim. You don't need to install unite-lines explicitly, so Don't use this reository
2011/06/26
Unite line
Original version
http://d.hatena.ne.jp/thinca/20101105/1288896674
Try
Unite lines or :UniteWithCursorWord lines
Config
* g:unite_source_lines_highlight
control whether ack search keyword is highlighted in unite buffer
default: 1
* g:unite_source_lines_highlight_color
color setting applied to search keyword when g:unite_source_ack_highlight is true
default: "gui=bold ctermfg=255 ctermbg=4 guifg=#ffffff guibg=#0a7383"
Keymap example
nnoremap <silent> <expr><Space>l ":<C-u>UniteWithCursorWord lines<CR>"
Screen capture
