You are not logged in.
Hi! I was wondering if anyone has been able to make the vim plugin vim-powerline work with urxvt.
It works fine with gvim and with gnome-terminal once i change the encoding to utf-8. I think there must be something missing form my urxvt configuration.
Here's my .Xresources, maybe some of you guys knows what i'm missing:
URxvt.imLocale: pt_PT.UTF-8
URxvt.scrollBar: off
URxvt.font: xft:Inconsolata-dz-Powerline:pixelsize=12:antialias=true:hinting=true
URxvt*loginShell:true
URxvt*termName:rxvt-unicode
URxvt.perl-ext-common: default,matcher,tabbed
URxvt.urlLauncher: /usr/bin/iceweasel
URxvt.matcher.button: 1
URxvt.perl-ext: default,url-select
URxvt.keysym.M-u: perl:url-select:select_next
URxvt.underlineURLs: true
URxvt.tabbed.tabbar-fg: 2
URxvt.tabbed.tabbar-bg: 0
URxvt.tabbed.tab-fg: 3
URxvt.tabbed.tab-bg: 0Last edited by ruaz (2012-03-31 12:23:37)
Offline
I use powerline, but i have it installed via YADR. I had to tweak settings here-and-there as it's oriented towards a OSX install, but on the whole it worked out of the box. What exactly is the issue you're seeing? I think the only special stuff I did was making sure I had suitable fonts, and a snippet along the lines of:
if has("gui_running")
" GUI stuff
else
colorscheme solarized
set background=dark
let g:Powerline_symbols = 'unicode'
endifEDIT: BTW, I can highly recommend the YADR configs; they are nicely organized and use a lot of nice plugins for any serious dev work.
Last edited by nogoma (2012-03-30 23:15:44)
-nogoma
---
Code Happy, Code Ruby!
http://www.last.fm/user/nogoma/
Offline
I forgot to state exactly my problem, sorry about that. What I see is characters like 'â®' where the arrows should be. I had Powerline_symbols set as 'fancy', so I changed it to 'unicode' like you have but the problem remains. As a side note, I installed vim-powerline via Vundle; but I don't think that it matters in this case, as things work fine in gvim and gnome-terminal, just not in urxvt. ![]()
Offline
Hmmm... somebody better versed in utf & terminal will probably have something more wise to say, but I will mention that un-related to VIM I was having issues w/ urxvt & some unicode characters in my prompt, with certain fonts on one of my machines. I use
*font:xft:envy code r:medium:pixelsize=12on one of my machines (from my .Xresources) and it works fine. However, using the same font string on another machine causes certain unicode characters to fail to show up (they appear as boxes for me); if I change the pixelsize from 12 to 11 (or 14 or higher), the characters appear. So, I guess I'd try altering my pixelsize in my Xresources to see if that has an effect...
-nogoma
---
Code Happy, Code Ruby!
http://www.last.fm/user/nogoma/
Offline
I tried your suggestion but still no change. In fact, even the font size didn't change! Something weird going on here.
EDIT: I have solved the issue. What I did was patch the font myself since the one I was using I had downloaded from the vim-powerline wiki. Also, instead of 'Inconsolata-Powerline' in the URxvt.font configuration, I had to use 'Inconsolata for Powerline'.
Last edited by ruaz (2012-03-31 12:22:40)
Offline