add tab switch

This commit is contained in:
Nachuan Tang
2022-07-23 02:13:00 -04:00
parent ef122af8b5
commit d6048e7c17
2 changed files with 5 additions and 1 deletions
+1 -1
View File
@@ -151,7 +151,7 @@ set statusline^=%{coc#status()}%{get(b:,'coc_current_function','')}
" Show all diagnostics.
nnoremap <silent><nowait> <space>a :<C-u>CocList diagnostics<cr>
" Manage extensions.
nnoremap <silent><nowait> <space>e :<C-u>CocList extensions<cr>
" nnoremap <silent><nowait> <space>e :<C-u>CocList extensions<cr>
" Show commands.
nnoremap <silent><nowait> <space>c :<C-u>CocList commands<cr>
" Find symbol of current document.
+4
View File
@@ -340,6 +340,10 @@
exec "set t_PE=\e[201~"
endif
" Tab navigation.
nnoremap <space>q :bprevious<CR>
nnoremap <space>e :bnext<CR>
" Use bundles config {
if filereadable(expand("~/.vimrc.bundles"))
source ~/.vimrc.bundles