From cf44626b0594d696da1b1315c0aff31b133e264f Mon Sep 17 00:00:00 2001 From: Daniil Tsivinsky Date: Fri, 15 Oct 2021 22:58:53 +0300 Subject: [PATCH] Remove unused remaps and add coc-rename remap --- nvim/coc.vim | 9 ++------- 1 file changed, 2 insertions(+), 7 deletions(-) diff --git a/nvim/coc.vim b/nvim/coc.vim index 533ac9e..3182b37 100644 --- a/nvim/coc.vim +++ b/nvim/coc.vim @@ -8,8 +8,6 @@ else endif " Use tab for trigger completion with characters ahead and navigate. -" NOTE: Use command ':verbose imap ' to make sure tab is not mapped by -" other plugin before putting this into your config. inoremap \ pumvisible() ? "\" : \ check_back_space() ? "\" : @@ -34,11 +32,8 @@ nmap gd (coc-definition) " Use for trigger snippet expand. imap (coc-snippets-expand) -" Use for jump to next placeholder, it's default of coc.nvim -let g:coc_snippet_next = '' - -" Use for jump to previous placeholder, it's default of coc.nvim -let g:coc_snippet_prev = '' +" Use F2 to rename a variable, e.g. +nmap (coc-rename) let g:coc_global_extensions = [ \ 'coc-tsserver',