update vim conf
This commit is contained in:
parent
8a70332043
commit
218accab00
@ -35,6 +35,8 @@ nnoremap <c-j> :YcmCompleter GoToDefinitionElseDeclaration<CR> " 跳转到
|
|||||||
let g:ycm_min_num_of_chars_for_completion=2
|
let g:ycm_min_num_of_chars_for_completion=2
|
||||||
|
|
||||||
Plugin 'vim-airline/vim-airline'
|
Plugin 'vim-airline/vim-airline'
|
||||||
|
Plugin 'vim-airline-themes'
|
||||||
|
let g:airline_theme='bubblegum'
|
||||||
"vim-airline配置:优化vim界面"
|
"vim-airline配置:优化vim界面"
|
||||||
"let g:airline#extensions#tabline#enabled = 1
|
"let g:airline#extensions#tabline#enabled = 1
|
||||||
" airline设置
|
" airline设置
|
||||||
@ -54,6 +56,7 @@ let g:airline#extensions#tabline#buffer_nr_show = 1
|
|||||||
nnoremap [b :bp<CR>
|
nnoremap [b :bp<CR>
|
||||||
nnoremap ]b :bn<CR>
|
nnoremap ]b :bn<CR>
|
||||||
" 映射<leader>num到num buffer
|
" 映射<leader>num到num buffer
|
||||||
|
"nmap <tab> :bn<cr>
|
||||||
map <leader>1 :b 1<CR>
|
map <leader>1 :b 1<CR>
|
||||||
map <leader>2 :b 2<CR>
|
map <leader>2 :b 2<CR>
|
||||||
map <leader>3 :b 3<CR>
|
map <leader>3 :b 3<CR>
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user