I put together a new system and am installing vim and I'm using the i3 tiling window manager. I want to use Unicode for everything. I installed DejaVu Sans fonts and set them in urxvt-unicode for my terminal and everything seems to work there.
I am NOT using gvim. I had this problem installing vim with and without X11 graphics support (not sure which one I should use). I also turned on GTK2 toolkit support but, again, I'm not sure if I need that.
When I try to enter Unicode using vim, some of the characters I've tried show just fine by using code points but one in particular, left and right quotes using Ctl-V U201c gives me an inverted question mark.
I did not install the Type1 fonts of TrueType yet. It's been a long time since I've done this and can't seem to figure it out.
I'm guessing I either don't have the font installed properly or I'm not pointing to it. When I enter :set guifont? in vim it just gives me 'guifont='. I tried setting it to 'guifont=DejaVu\ Sans\ Mono' but nothing changed.
My .Xdefaults
My .vimrc
I am NOT using gvim. I had this problem installing vim with and without X11 graphics support (not sure which one I should use). I also turned on GTK2 toolkit support but, again, I'm not sure if I need that.
When I try to enter Unicode using vim, some of the characters I've tried show just fine by using code points but one in particular, left and right quotes using Ctl-V U201c gives me an inverted question mark.
I did not install the Type1 fonts of TrueType yet. It's been a long time since I've done this and can't seem to figure it out.
I'm guessing I either don't have the font installed properly or I'm not pointing to it. When I enter :set guifont? in vim it just gives me 'guifont='. I tried setting it to 'guifont=DejaVu\ Sans\ Mono' but nothing changed.
My .Xdefaults
Code:
URxvt.scrollBar: false
URxvt.font: xft:DejaVu Sans Mono:pixelsize=16
URxvt.background: #202020
URxvt.foreground: #cccccc
Code:
if has("multi_byte")
if &termencoding == ""
let &termencoding = &encoding
endif
set encoding=utf-8
setglobal fileencoding=utf-8
set fileencodings=utf-8
endif