diff --git a/nvim/.config/nvim/init.vim b/nvim/.config/nvim/init.vim index e10d8bf..f33da62 100644 --- a/nvim/.config/nvim/init.vim +++ b/nvim/.config/nvim/init.vim @@ -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]}), 0) " --------------------------- Autocmd groups --------------------------------- + +augroup QuickfixPreview + au! + au FileType qf noremap p :call quickui#tools#preview_quickfix() +augroup END + augroup vimplug_maps au! au FileType vim nmap pg :PlugUpgrade