Improved some shortcuts
parent
4e636eb28b
commit
51a7ded26b
|
@ -28,10 +28,10 @@ nmap gi <Plug>(coc-implementation)
|
||||||
nmap gr <Plug>(coc-references)
|
nmap gr <Plug>(coc-references)
|
||||||
|
|
||||||
" Jump between diagnostic positions
|
" Jump between diagnostic positions
|
||||||
nmap <silent> dk <Plug>(coc-diagnostic-prev)
|
nmap <silent> <leader>dk <Plug>(coc-diagnostic-prev)
|
||||||
nmap <silent> dK <Plug>(coc-diagnostic-prev-error)
|
nmap <silent> <leader>dK <Plug>(coc-diagnostic-prev-error)
|
||||||
nmap <silent> dj <Plug>(coc-diagnostic-next)
|
nmap <silent> <leader>dj <Plug>(coc-diagnostic-next)
|
||||||
nmap <silent> dJ <Plug>(coc-diagnostic-next-error)
|
nmap <silent> <leader>dJ <Plug>(coc-diagnostic-next-error)
|
||||||
|
|
||||||
" Show full diagnostics list
|
" Show full diagnostics list
|
||||||
nmap <silent> <leader>dd :CocDiagnostics<CR>
|
nmap <silent> <leader>dd :CocDiagnostics<CR>
|
||||||
|
|
|
@ -37,7 +37,8 @@ Plug 'hynek/vim-python-pep8-indent'
|
||||||
Plug 'michaeljsmith/vim-indent-object'
|
Plug 'michaeljsmith/vim-indent-object'
|
||||||
|
|
||||||
" Sidebar showing file structure
|
" Sidebar showing file structure
|
||||||
Plug 'scrooloose/nerdtree'
|
Plug 'scrooloose/nerdtree' |
|
||||||
|
\ Plug 'Xuyuanp/nerdtree-git-plugin'
|
||||||
|
|
||||||
" Toml syntax highlighting
|
" Toml syntax highlighting
|
||||||
Plug 'cespare/vim-toml'
|
Plug 'cespare/vim-toml'
|
||||||
|
|
Reference in New Issue