From c1e33f35a68e1305af7bd4864d1ebac3d15108ae Mon Sep 17 00:00:00 2001 From: LavaDesu Date: Tue, 7 Sep 2021 08:17:34 +0700 Subject: [PATCH] neovim: add and fix some more coc binds --- modules/user/neovim.nix | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) 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)