symbols: Use a different Column char in UTF-8

Personally I don't like the extra-wide ㏇ char, so let's make it ℅
This commit is contained in:
Christian Brabandt 2021-05-07 22:29:59 +02:00
parent f7cbf8c429
commit db78454a03
No known key found for this signature in database
GPG Key ID: F3F92DA383FDDE09
2 changed files with 6 additions and 3 deletions

View File

@ -104,13 +104,13 @@ function! airline#init#bootstrap()
call s:check_defined('g:airline_left_alt_sep', "") call s:check_defined('g:airline_left_alt_sep', "")
call s:check_defined('g:airline_right_sep', "") call s:check_defined('g:airline_right_sep', "")
call s:check_defined('g:airline_right_alt_sep', "") call s:check_defined('g:airline_right_alt_sep', "")
" ro=⊝, ws=☲, lnr=㏑, mlnr=☰, colnr=, br=ᚠ, nx=Ɇ, crypt=🔒 " ro=⊝, ws=☲, lnr=㏑, mlnr=☰, colnr=, br=ᚠ, nx=Ɇ, crypt=🔒
call extend(g:airline_symbols, { call extend(g:airline_symbols, {
\ 'readonly': "\u229D", \ 'readonly': "\u229D",
\ 'whitespace': "\u2632", \ 'whitespace': "\u2632",
\ 'maxlinenr': "\u2630", \ 'maxlinenr': "\u2630",
\ 'linenr': "\u33d1", \ 'linenr': "\u33d1",
\ 'colnr': "\u33c7", \ 'colnr': "\u2105",
\ 'branch': "\u16A0", \ 'branch': "\u16A0",
\ 'notexists': "\u0246", \ 'notexists': "\u0246",
\ 'crypt': nr2char(0x1F512), \ 'crypt': nr2char(0x1F512),
@ -127,7 +127,7 @@ function! airline#init#bootstrap()
\ 'whitespace': '!', \ 'whitespace': '!',
\ 'linenr': 'ln', \ 'linenr': 'ln',
\ 'maxlinenr': '', \ 'maxlinenr': '',
\ 'colnr': 'cn', \ 'colnr': 'co',
\ 'branch': '', \ 'branch': '',
\ 'notexists': '?', \ 'notexists': '?',
\ 'crypt': 'cr', \ 'crypt': 'cr',

View File

@ -351,6 +351,8 @@ its contents. >
let g:airline_left_sep = '▶' let g:airline_left_sep = '▶'
let g:airline_right_sep = '«' let g:airline_right_sep = '«'
let g:airline_right_sep = '◀' let g:airline_right_sep = '◀'
let g:airline_symbols.colnr = '㏇'
let g:airline_symbols.colnr = '℅'
let g:airline_symbols.crypt = '🔒' let g:airline_symbols.crypt = '🔒'
let g:airline_symbols.linenr = '☰' let g:airline_symbols.linenr = '☰'
let g:airline_symbols.linenr = '␊' let g:airline_symbols.linenr = '␊'
@ -372,6 +374,7 @@ its contents. >
let g:airline_right_sep = '' let g:airline_right_sep = ''
let g:airline_right_alt_sep = '' let g:airline_right_alt_sep = ''
let g:airline_symbols.branch = '' let g:airline_symbols.branch = ''
let g:airline_symbols.colnr = ''
let g:airline_symbols.readonly = '' let g:airline_symbols.readonly = ''
let g:airline_symbols.linenr = '☰' let g:airline_symbols.linenr = '☰'
let g:airline_symbols.maxlinenr = '' let g:airline_symbols.maxlinenr = ''