From 2da854289147a04f6aa904366f0bf64a760d9fcf Mon Sep 17 00:00:00 2001 From: jdhao Date: Tue, 17 Sep 2019 23:18:28 +0800 Subject: [PATCH] Update vim-airline settings --- init.vim | 17 ++++++++++++----- spell/en.utf-8.add | 2 ++ spell/en.utf-8.add.spl | Bin 450 -> 703 bytes 3 files changed, 14 insertions(+), 5 deletions(-) diff --git a/init.vim b/init.vim index fb2d7a5..bd573b2 100644 --- a/init.vim +++ b/init.vim @@ -23,7 +23,7 @@ " built over time and take your time to polish. " Author: Jie-dong Hao " Email: jdhao@hotmail.com -" Update: 2019-09-16 11:49:42+0800 +" Update: 2019-09-17 17:35:03+0800 "}} "{{ License: MIT License @@ -1300,16 +1300,23 @@ let g:airline#extensions#tabline#buffer_nr_show = 1 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 = 0 +let g:airline#extensions#tagbar#enabled = 1 " 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 -" Make airline more beautiful, see https://goo.gl/XLY19H for more info -" let g:airline_powerline_fonts = 1 +" Whether to use powerline symbols, see https://goo.gl/XLY19H. +let g:airline_powerline_fonts = 0 -" Show only hunks which are non-zero (git-related) +if !exists('g:airline_symbols') + let g:airline_symbols = {} +endif +let g:airline_symbols.branch = '⎇' +let g:airline_symbols.paste = 'ρ' +let g:airline_symbols.spell = 'Ꞩ' + +" Only show git hunks which are non-zero let g:airline#extensions#hunks#non_zero_only = 1 " Speed up airline diff --git a/spell/en.utf-8.add b/spell/en.utf-8.add index ff4ff8e..9dd5f5a 100644 --- a/spell/en.utf-8.add +++ b/spell/en.utf-8.add @@ -52,3 +52,5 @@ usepackage vim vimtex workflow +regex +blog diff --git a/spell/en.utf-8.add.spl b/spell/en.utf-8.add.spl index 22af6285df2b47b6312d0585d573e22948e7e495..82005817defbe90f01d61d8b089017efcc5e3f12 100644 GIT binary patch literal 703 zcmWIZ^erw(&B-zP&%nSqPdG6tIVCkcGb<-Iub`;7q_nKOk}0*6F@=$dg|UP&pD~#+ zpD~xQfH8+Lm9c~|lQEw$kCA~Xr<5_Dk&%JHIGr(*F$XM>$Hc(I#GIO60uq-jV$5Sq z1F@_!850@PK`i59=G1&f1_sFzru-7PiHr;kZmEo^jAe|8j5&-hvQc?HE4Af|B{V=0(U0+A)j5CtV^%o&*=$AC1IFs3qAFqSYfH87SiWnh#lbBM=81os+ATDvsh0w;iY>6qEIr){0c@R^2^BL0^a~KmDLCyn(8Q43LIgF)@ zU~`!nn3zDJP|R2iF+mdKhkV8&#$>R2GMJJp z%zVaNkQPQxa9~M-qP>VQ8|-pOOqVm}GnS$yhg8N~kp88q3=9muEbg8Gk<6hPnT(!{ z#f%J$`QV5Q0mlg=0|RdfV+o@NBvN>jAVJ6*%2>%5!U*>(ZwA;BXOuLT%IFKSgcoE9 G0|Nll0fP$w literal 450 zcmWIZ^erw(&B-zP&%nSa#-Es!oRXTJl~+(yQd(AC$ymx*!kEvP%$U!Z%UHme!ogIUE)sriigaNQuu zRK{e+V#X52B8Xy-JjOh*(lVw@kcAnHrHo08Obtw#B_QFlV#ZX60=E*T)B?s7kf2s3 zV=7}hBNGc#Y8hibV;RIGi(Ck;mCKTtnN!J_$Cv_kJ`)p2PhSpWDPuZgCSx8G1IQU5 zC*(60F(!i~%Q6^K84Exxt$fBr#w5lZh*6PwP)`;!<}qeMRIDjx%w)`EVkluu1!=IT zU<4VH&6viR!1WDo-b0P1^F+5i9m