add coc-rename mapping

This commit is contained in:
LavaDesu 2021-07-07 19:52:44 +07:00
parent 1b1ecd9818
commit 9a6c7b2b3e
Signed by: cilly
GPG key ID: 6500251E087653C9

View file

@ -76,7 +76,8 @@ in {
" various aliases
nnoremap <c-h> :NERDTreeToggle
nnoremap <leader>r :source $MYVIMRC<CR>
nnoremap <leader>rs :source $MYVIMRC<CR>
nmap <leader>rn <Plug>(coc-rename)
command! -nargs=0 Sw w !doas tee % > /dev/null
" disable read-only warning