aboutsummaryrefslogtreecommitdiff
path: root/plugins.vim
diff options
context:
space:
mode:
authorjdhao <jdhao@hotmail.com>2020-10-10 13:30:55 +0800
committerGitHub <noreply@github.com>2020-10-10 13:30:55 +0800
commit71d3339130b7554d55cec7a2f64210ef774019ab (patch)
tree21f6cecd72714952fcfb18dbc0b89a1e1b6a5e7e /plugins.vim
parent8c279f1612d3e39336249a0726da5dbf8351c7b9 (diff)
move airline setting together
Diffstat (limited to 'plugins.vim')
-rw-r--r--plugins.vim6
1 files changed, 3 insertions, 3 deletions
diff --git a/plugins.vim b/plugins.vim
index e5904dd..910b596 100644
--- a/plugins.vim
+++ b/plugins.vim
@@ -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
-" 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
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
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,
" extracted from https://vi.stackexchange.com/a/9637/15292
let g:airline_skip_empty_sections = 1