unite-location


Ⅰ. 插件描述

Control your location list and quickfix list by unite/denite

Ⅱ. 基本信息

创建日期:  2015-12-20
使用用户:  2
Github星:  10
插件作者:  Qiming zhao

Ⅲ. 安装方法

使用Vundle管理器安装

在你的.vimrc下添加:
Plugin 'chemzqm/unite-location'
… 然后在Vim中运行以下命令:
:source %
:PluginInstall

对于Vundle版本 < 0.10.2,请用上面的Bundle替换Plugin。

使用NeoBundle管理器安装

在你的.vimrc下添加:
NeoBundle 'chemzqm/unite-location'
… 然后在Vim中运行以下命令:
:source %
:NeoBundleInstall

使用VimPlug管理器安装

在你的.vimrc下添加:
Plug 'chemzqm/unite-location'
… 然后在Vim中运行以下命令:
:source %
:PlugInstall

使用Pathogen管理器安装

在终端中运行以下命令:
cd ~/.vim/bundle
git clone https://github.com/chemzqm/unite-location

Ⅳ. 文档说明

# Unite-location

Make unite/denite replace quickfix list and lcoation list.

TODO: implementation of refresh

Motivation

With denite.nvim, I can do more actions (like filter, convertor),
and they're uniformed, no need to remember more key mapping for navigate or list toggle, for example, you
can add followinng mapping to make your life with list much easier:

nnoremap <silent> <space>p  :<C-u>Denite -resume<CR>
nnoremap <silent> <space>j  :call execute('Denite -resume -select=+'.v:count1.' -immediately')<CR>
nnoremap <silent> <space>k  :call execute('Denite -resume -select=-'.v:count1.' -immediately')<CR>
nnoremap <silent> <space>q  :<C-u>Denite -mode=normal -auto-resize quickfix<CR>
nnoremap <silent> <space>l  :<C-u>Denite -mode=normal -auto-resize location_list<CR>

Install

Take Vundle for example:

Add these lines to .vimrc

" should have unite
Plugin 'Shougo/unite.vim'
Plugin 'chemzqm/unite-location'

Or use denite.nvim

Plugin 'Shougo/denite.nvim'

Then:

:so ~/.vimrc
:BundleInstall

Usage

" show quickfix list
:Unite quickfix
" or
:Denite quickfix

" show location list
:Unite location_list
" or
:Denite location_list

license

MIT

添加新评论