summaryrefslogtreecommitdiff
path: root/vim/vimrc
diff options
context:
space:
mode:
Diffstat (limited to 'vim/vimrc')
-rw-r--r--vim/vimrc3
1 files changed, 3 insertions, 0 deletions
diff --git a/vim/vimrc b/vim/vimrc
index 8ea1315..743e081 100644
--- a/vim/vimrc
+++ b/vim/vimrc
@@ -16,6 +16,9 @@ map ; <ESC>:FZF<CR>
nnoremap <leader>l :bnext<CR>
nnoremap <leader>k :bprev<CR>
+" S-D for prev/next Coc diagnostic
+nnoremap <leader>d <Plug>(coc-diagnostic-next-error)
+nnoremap <leader>s <Plug>(coc-diagnostic-prev-error)
" Append modeline after last line in buffer.