Skip to content

Control your location list and quickfix list by unite/denite

Notifications You must be signed in to change notification settings

chemzqm/unite-location

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

19 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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

About

Control your location list and quickfix list by unite/denite

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published