vim: Add a mapping for symbol renaming
This commit is contained in:
parent
1fa379691a
commit
a80ee43b83
|
@ -52,6 +52,9 @@ let g:NERDTreeShowHidden=1
|
||||||
let g:NERDTreeWinPos = "right"
|
let g:NERDTreeWinPos = "right"
|
||||||
nnoremap <leader>ne :NERDTreeToggle<CR>
|
nnoremap <leader>ne :NERDTreeToggle<CR>
|
||||||
|
|
||||||
|
" Symbol renaming.
|
||||||
|
nmap <leader>rn <Plug>(coc-rename)
|
||||||
|
|
||||||
autocmd FileType gitcommit highlight ColorColumn ctermbg=8
|
autocmd FileType gitcommit highlight ColorColumn ctermbg=8
|
||||||
autocmd FileType gitcommit setlocal colorcolumn=50,72
|
autocmd FileType gitcommit setlocal colorcolumn=50,72
|
||||||
autocmd FileType gitcommit setlocal textwidth=72
|
autocmd FileType gitcommit setlocal textwidth=72
|
||||||
|
|
Loading…
Reference in a new issue