aboutsummaryrefslogtreecommitdiffstats
path: root/vimrc
diff options
context:
space:
mode:
Diffstat (limited to 'vimrc')
-rw-r--r--vimrc5
1 files changed, 5 insertions, 0 deletions
diff --git a/vimrc b/vimrc
index d7c1fd3..7311401 100644
--- a/vimrc
+++ b/vimrc
@@ -409,6 +409,7 @@
" * Hide error message that Vim-Go displays when using a version of Vim
" older than 7.4.2009.
" * Format Go code with `goimports`.
+" * Add next/previous shortcuts for the location list.
"
@@ -730,6 +731,10 @@ nnoremap <C-w><C-q> <nop>
nnoremap ]q :cnext<cr>
nnoremap [q :cprevious<cr>
+" Location list
+nnoremap ]w :lnext<cr>
+nnoremap [w :lprevious<cr>
+
" Set scrollbind on a window
nnoremap <leader>sb :setlocal scrollbind! scrollbind?<cr>