Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/chemzqm/unite-location
Control your location list and quickfix list by unite/denite
https://github.com/chemzqm/unite-location
Last synced: about 1 month ago
JSON representation
Control your location list and quickfix list by unite/denite
- Host: GitHub
- URL: https://github.com/chemzqm/unite-location
- Owner: chemzqm
- Created: 2015-12-20T06:07:46.000Z (about 9 years ago)
- Default Branch: master
- Last Pushed: 2017-08-07T02:57:33.000Z (over 7 years ago)
- Last Synced: 2024-10-29T12:35:27.489Z (about 2 months ago)
- Language: Vim script
- Homepage:
- Size: 12.7 KB
- Stars: 10
- Watchers: 6
- Forks: 1
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Unite-location
Make unite/denite replace quickfix list and lcoation list.
TODO: implementation of refresh
## Motivation
With [denite.nvim](https://github.com/Shougo/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:``` VimL
nnoremap p :Denite -resume
nnoremap j :call execute('Denite -resume -select=+'.v:count1.' -immediately')
nnoremap k :call execute('Denite -resume -select=-'.v:count1.' -immediately')
nnoremap q :Denite -mode=normal -auto-resize quickfix
nnoremap l :Denite -mode=normal -auto-resize location_list
```## Install
Take [Vundle](https://github.com/gmarik/vundle) for example:
Add these lines to `.vimrc`
" should have unite
Plugin 'Shougo/unite.vim'
Plugin 'chemzqm/unite-location'Or use [denite.nvim](https://github.com/Shougo/denite.nvim)
Plugin 'Shougo/denite.nvim'
Then:
:so ~/.vimrc
:BundleInstall## Usage
``` VimL
" show quickfix list
:Unite quickfix
" or
:Denite quickfix" show location list
:Unite location_list
" or
:Denite location_list
```## license
MIT