commit e4dc6662a3049eca2d5b5c49cba7dc1af90d1968
parent 89b2b396325d47a54a99b4c88776ef537ac81117
Author: Alex Balgavy <a.balgavy@gmail.com>
Date: Sat, 12 Jan 2019 16:00:16 +0100
Plugin vim-qf and bindings
Added vim-qf plugin to vim, and keybinds for some of its commands.
Former-commit-id: 242f566c541109768f3b46bf56ced992cfef1557
Diffstat:
2 files changed, 10 insertions(+), 0 deletions(-)
diff --git a/vim/pluginconf.vimrc b/vim/pluginconf.vimrc
@@ -1,5 +1,7 @@
let g:NERDSpaceDelims = 1
let g:vimwiki_list = [{'path': '~/Dropbox/vimwiki'}]
+
+" tagbar language definitions
let g:tagbar_type_vimwiki = {
\ 'ctagstype':'vimwiki'
\ , 'kinds':['h:header']
@@ -46,3 +48,8 @@ let g:tagbar_type_markdown = {
\ ],
\ 'sort': 0
\ }
+
+" vim-qf mappings
+nmap ]q <Plug>(qf_qf_next)
+nmap [q <Plug>(qf_qf_previous)
+nmap <leader>qf <Plug>(qf_qf_toggle)
diff --git a/vim/plugins.vimrc b/vim/plugins.vimrc
@@ -48,6 +48,9 @@ Plug 'tpope/vim-fugitive'
" Undo tree visualiser
Plug 'simnalamburt/vim-mundo'
+" Quickfix window settings/mappings
+Plug 'romainl/vim-qf'
+
" Easy table making (unnecessary because vimwiki has this built in)
" Plug 'dhruvasagar/vim-table-mode'