diff options
Diffstat (limited to 'vimrc')
-rw-r--r-- | vimrc | 5 |
1 files changed, 5 insertions, 0 deletions
@@ -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> |