[vim] use standard Unicode in statusline (airline)
The fonts patched with Powerline symbols are buggy and limited. Using standard Unicode provides good looks and requires no fiddling with fonts, which is less headache in terms of portability. If support for the used Unicode symbols turns out to be too limited, they can be changed to normal ASCII characters.
This commit is contained in:
parent
0b07964c2f
commit
a4b9f1d288
4 changed files with 15 additions and 10 deletions
6
.gitmodules
vendored
6
.gitmodules
vendored
|
@ -1,6 +0,0 @@
|
|||
[submodule "resources/Menlo-for-Powerline"]
|
||||
path = resources/Menlo-for-Powerline
|
||||
url = https://github.com/abertsch/Menlo-for-Powerline.git
|
||||
[submodule "resources/powerline-consolas"]
|
||||
path = resources/powerline-consolas
|
||||
url = https://github.com/nicolalamacchia/powerline-consolas.git
|
|
@ -1 +0,0 @@
|
|||
Subproject commit 07e91f66786b3755d99dcfe52b436cf1c2355f38
|
|
@ -1 +0,0 @@
|
|||
Subproject commit fe97c6dda5996ba6cfd00bdb82c8211e4ac2a544
|
17
vimrc
17
vimrc
|
@ -76,8 +76,20 @@ set nocompatible
|
|||
highlight link taskpaperCancelled Comment
|
||||
highlight link taskpaperComment Normal
|
||||
|
||||
let g:airline_theme="solarized"
|
||||
let g:airline_powerline_fonts = 1
|
||||
if !exists('g:airline_symbols')
|
||||
let g:airline_symbols = {}
|
||||
endif
|
||||
let g:airline_left_sep = ' '
|
||||
let g:airline_right_sep = ' '
|
||||
let g:airline_left_alt_sep = ''
|
||||
let g:airline_right_alt_sep = ''
|
||||
let g:airline_symbols.crypt = '☢'
|
||||
let g:airline_symbols.paste = 'Ⓟ'
|
||||
let g:airline_symbols.spell = '✔'
|
||||
let g:airline_symbols.branch = '⎇'
|
||||
let g:airline_symbols.readonly = ' ⃠'
|
||||
let g:airline_symbols.linenr = ''
|
||||
let g:airline_symbols.whitespace = '✗'
|
||||
|
||||
colorscheme solarized
|
||||
filetype plugin indent on
|
||||
|
@ -152,3 +164,4 @@ augroup vimrc " {{{
|
|||
augroup END " }}}
|
||||
|
||||
if filereadable(expand("~/.vimrc.local")) | source ~/.vimrc.local | endif
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue