diff options
| -rw-r--r-- | vimrc | 16 |
1 files changed, 10 insertions, 6 deletions
| @@ -24,11 +24,15 @@ nnoremap <C-q> :copen<cr> | |||
| 24 | nnoremap <C-p> :CtrlP<cr> | 24 | nnoremap <C-p> :CtrlP<cr> |
| 25 | nnoremap <C-b> :CtrlPBuffer<cr> | 25 | nnoremap <C-b> :CtrlPBuffer<cr> |
| 26 | 26 | ||
| 27 | nmap <silent>[g <Plug>(coc-diagnostic-prev) | 27 | nmap <silent> [g <Plug>(coc-diagnostic-prev) |
| 28 | nmap <silent>]g <Plug>(coc-diagnostic-next) | 28 | nmap <silent> ]g <Plug>(coc-diagnostic-next) |
| 29 | nmap <silent>gd <Plug>(coc-definition) | 29 | nmap <silent> gd <Plug>(coc-definition) |
| 30 | nmap <silent>gy <Plug>(coc-type-definition) | 30 | nmap <silent> gy <Plug>(coc-type-definition) |
| 31 | nmap <silent>gi <Plug>(coc-implementation) | 31 | nmap <silent> gi <Plug>(coc-implementation) |
| 32 | nmap <silent>gr <Plug>(coc-references) | 32 | nmap <silent> gr <Plug>(coc-references) |
| 33 | |||
| 34 | xmap <leader>f <Plug>(coc-format-selected) | ||
| 35 | nmap <leader>f <Plug>(coc-format-selected) | ||
| 33 | nmap <leader>cf <Plug>(coc-fix-current) | 36 | nmap <leader>cf <Plug>(coc-fix-current) |
| 37 | nmap <leader>re <Plug>(coc-rename) | ||
| 34 | 38 | ||
