]> git.rmz.io Git - dotfiles.git/commitdiff
vim: use powerline fonts for airline
authorSamir Benmendil <samir.benmendil@gmail.com>
Tue, 22 Apr 2014 23:42:58 +0000 (00:42 +0100)
committerSamir Benmendil <samir.benmendil@gmail.com>
Tue, 22 Apr 2014 23:42:58 +0000 (00:42 +0100)
needs the pkg powerline-fonts to be installed
also resets the termName to what it should be

Xresources
vim/vimrc

index 85684fb375617fb99be0cb15e9f682f1205bf668..7508d674e1d263c09b36311552be37a26fcc1cb0 100644 (file)
@@ -1,11 +1,11 @@
 ! {{{1 Title
 URxvt*title:        urxvt
-URxvt*termName:     rxvt-256color
+URxvt*termName:     rxvt-unicode-256color
 URxvt*urgentOnBell: true
 URxvt*iconFile:     /home/ramsi/src/dotfiles/icons/shell.png
 
 ! {{{1 Font
-URxvt.font:              xft:Inconsolata:size=11
+URxvt.font:              xft:Inconsolata for Powerline:size=11
 URxvt.skipBuiltinGlyphs: true
 Xft.antialias: true
 
index c33c18c4cc8b1c2bd403605a6b167dc1f5e4a97b..8af2642deb6f45bd9f4f31c90a293f04f8348216 100644 (file)
--- a/vim/vimrc
+++ b/vim/vimrc
@@ -266,11 +266,8 @@ set viewdir=$XDG_CACHE_HOME/vim
 " plugins {{{1
 " airline {{{2
 let g:airline_detect_whitespace=2
-let g:airline_whitespace_symbol = 'Ξ'
-let g:airline_linecolumn_prefix = '␊ '
-let g:airline_left_sep = '▶'
-let g:airline_right_sep = '◀'
 let g:airline#extensions#tabline#enabled = 1
+let g:airline_powerline_fonts = 1
 
 " GoldenView {{{2
 "let g:goldenview__enable_default_mapping = 0