aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCody Hiar <cody@hiar.ca>2020-03-13 16:25:53 -0600
committerCody Hiar <cody@hiar.ca>2020-03-13 16:25:53 -0600
commit10262bc3cd93e6c3035f93091a7bdf614b91d46a (patch)
tree6e8203b8c5a494f879af19b6e0c065aa920f6282
parent11ab367425e0bacde6bce04a4cc55bcebddb9f27 (diff)
Add quick close/open commands for quickfix window
-rw-r--r--plugin/vim-options.vim3
1 files changed, 3 insertions, 0 deletions
diff --git a/plugin/vim-options.vim b/plugin/vim-options.vim
index fbeeff8..babe46b 100644
--- a/plugin/vim-options.vim
+++ b/plugin/vim-options.vim
@@ -134,6 +134,9 @@ nnoremap <leader>erm :call Rm()<CR>
" Add numbered jumps to the jump list
nnoremap <expr> k (v:count > 1 ? "m'" . v:count : '') . 'k'
nnoremap <expr> j (v:count > 1 ? "m'" . v:count : '') . 'j'
+" Quick open and close quickfix
+nnoremap <leader>co :copen<CR>
+nnoremap <leader>cc :cclose<CR>