diff --git a/modules/user/neovim.nix b/modules/user/neovim.nix index a5c073d..f6617ba 100644 --- a/modules/user/neovim.nix +++ b/modules/user/neovim.nix @@ -100,7 +100,13 @@ nnoremap k nnoremap l nnoremap :q - nnoremap gd (coc-definition) + + nmap [g (coc-diagnostic-prev) + nmap ]g (coc-diagnostic-next) + nmap gd (coc-definition) + nmap gy (coc-type-definition) + nmap gi (coc-implementation) + nmap gr (coc-references) nmap ref (coc-references) nmap gd :Gdiff nmap rn (coc-rename)