Improved some shortcuts

master
Jef Roosens 2020-10-30 10:55:22 +01:00
parent 4e636eb28b
commit 51a7ded26b
2 changed files with 6 additions and 5 deletions

View File

@ -28,10 +28,10 @@ nmap gi <Plug>(coc-implementation)
nmap gr <Plug>(coc-references)
" Jump between diagnostic positions
nmap <silent> dk <Plug>(coc-diagnostic-prev)
nmap <silent> dK <Plug>(coc-diagnostic-prev-error)
nmap <silent> dj <Plug>(coc-diagnostic-next)
nmap <silent> dJ <Plug>(coc-diagnostic-next-error)
nmap <silent> <leader>dk <Plug>(coc-diagnostic-prev)
nmap <silent> <leader>dK <Plug>(coc-diagnostic-prev-error)
nmap <silent> <leader>dj <Plug>(coc-diagnostic-next)
nmap <silent> <leader>dJ <Plug>(coc-diagnostic-next-error)
" Show full diagnostics list
nmap <silent> <leader>dd :CocDiagnostics<CR>

View File

@ -37,7 +37,8 @@ Plug 'hynek/vim-python-pep8-indent'
Plug 'michaeljsmith/vim-indent-object'
" Sidebar showing file structure
Plug 'scrooloose/nerdtree'
Plug 'scrooloose/nerdtree' |
\ Plug 'Xuyuanp/nerdtree-git-plugin'
" Toml syntax highlighting
Plug 'cespare/vim-toml'