summaryrefslogtreecommitdiff
path: root/vim
diff options
context:
space:
mode:
authorAlex Auvolat <alex@adnab.me>2023-05-03 16:53:06 +0200
committerAlex Auvolat <alex@adnab.me>2023-05-03 16:53:06 +0200
commit0f80c99739f06a39588bcde452d36ba58d986bc3 (patch)
tree01ff2df0ae4e7ef9ba5d3319f0ed8f4cbe97dcb7 /vim
parent6dba53af843594854d51b71107b16305258b6ee8 (diff)
downloaduser-config-0f80c99739f06a39588bcde452d36ba58d986bc3.tar.gz
user-config-0f80c99739f06a39588bcde452d36ba58d986bc3.zip
Add rust-analyzer coc vim plugin
Diffstat (limited to 'vim')
-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.