nvim: Add quickui for quickfix preview
Signed-off-by: Sanchayan Maity <maitysanchayan@gmail.com>
This commit is contained in:
parent
0438c0a032
commit
68c61a7a1c
1 changed files with 7 additions and 0 deletions
|
@ -76,6 +76,7 @@ Plug 'stefandtw/quickfix-reflector.vim'
|
|||
Plug 'romainl/vim-qlist'
|
||||
Plug 'mhinz/vim-grepper'
|
||||
Plug 'milkypostman/vim-togglelist'
|
||||
Plug 'skywind3000/vim-quickui'
|
||||
" Text Object plugins
|
||||
Plug 'kana/vim-textobj-user'
|
||||
Plug 'danidiaz/vim-textobj-do-block'
|
||||
|
@ -402,6 +403,12 @@ command! -bang -nargs=* GGrep
|
|||
\ fzf#vim#with_preview({'dir': systemlist('git rev-parse --show-toplevel')[0]}), <bang>0)
|
||||
|
||||
" --------------------------- Autocmd groups ---------------------------------
|
||||
|
||||
augroup QuickfixPreview
|
||||
au!
|
||||
au FileType qf noremap <silent><buffer> p :call quickui#tools#preview_quickfix()<CR>
|
||||
augroup END
|
||||
|
||||
augroup vimplug_maps
|
||||
au!
|
||||
au FileType vim nmap pg :PlugUpgrade<CR>
|
||||
|
|
Loading…
Reference in a new issue