1
0
mirror of https://github.com/jdhao/nvim-config.git synced 2025-06-08 14:14:33 +02:00

move airline setting together

This commit is contained in:
jdhao 2020-10-10 13:30:55 +08:00 committed by GitHub
parent 8c279f1612
commit 71d3339130
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -419,9 +419,6 @@ let g:sneak#s_next = 1
nmap n <Plug>(anzu-n-with-echo)zzzv nmap n <Plug>(anzu-n-with-echo)zzzv
nmap N <Plug>(anzu-N-with-echo)zzzv nmap N <Plug>(anzu-N-with-echo)zzzv
" Do not show search index in statusline since it is shown on command line
let g:airline#extensions#anzu#enabled = 0
" Maximum number of words to search " Maximum number of words to search
let g:anzu_search_limit = 500000 let g:anzu_search_limit = 500000
@ -765,6 +762,9 @@ let g:airline#extensions#tabline#buffer_nr_format = '%s. '
" Whether to show function or other tags on status line " Whether to show function or other tags on status line
let g:airline#extensions#tagbar#enabled = 1 let g:airline#extensions#tagbar#enabled = 1
" Do not show search index in statusline since it is shown on command line
let g:airline#extensions#anzu#enabled = 0
" Skip empty sections if there are nothing to show, " Skip empty sections if there are nothing to show,
" extracted from https://vi.stackexchange.com/a/9637/15292 " extracted from https://vi.stackexchange.com/a/9637/15292
let g:airline_skip_empty_sections = 1 let g:airline_skip_empty_sections = 1