diff --git a/nix/progs/nvim/coc.vim b/nix/progs/nvim/coc.vim index b5edd79..ccd4b91 100644 --- a/nix/progs/nvim/coc.vim +++ b/nix/progs/nvim/coc.vim @@ -21,9 +21,9 @@ inoremap coc#refresh() " position. Coc only does snippet and additional edit on confirm. inoremap pumvisible() ? "\" : "\u\" -" Use `[g` and `]g` for navigate diagnostics -nmap [g (coc-diagnostic-prev) -nmap ]g (coc-diagnostic-next) +" Use `[c` and `]c` for navigate diagnostics +nmap [c (coc-diagnostic-prev) +nmap ]c (coc-diagnostic-next) " Remap keys for gotos nmap gd (coc-definition) @@ -32,11 +32,8 @@ nmap gi (coc-implementation) nmap gr (coc-references) " Remap for do code action of current line -nmap la (coc-codeaction) +nmap a (coc-codeaction) " Remap for rename current word -nmap ln (coc-rename) - -" Remap for do action format -nnoremap F :call CocAction('format') +nmap n (coc-rename)