I\'m trying to get the following into my .vimrc
\" Use the same symbols as TextMate for tabstops and EOLs
set listchars=tab:▸\\ ,eol:¬
Thos
I have the following in my .vimrc
scriptencoding utf-8
set encoding=utf-8
and that in my .gvimrc
set listchars=trail:·,precedes:«,extends:»,eol:↲,tab:▸\
and works fine(notice there is a space after the ▸\ ).
I had the same issue with the vim that ships with OS X Lion although it was compiled with multi_byte
.
The issue was the encoding used by vim. I added set encoding=utf-8
in my ~/.vimrc
and the issue was solved.
Ref: Terminal Vim redraw issues in OS X Lion
Make sure you're using a compatible font. My problem was that inconsolata-g does not support the utf-8 characters in my document.
also, this was all I needed in my gvimrc:
set enc=utf-8
set fileencoding=utf-8
set fileencodings=ucs-bom,utf8,prc
set guifont=Monaco:h14
set guifontwide=NSimsun:h14
Don't forget, if you're running vim in a terminal, make sure the terminal itself is using utf-8 as well.
I had this issue while being in a screen
session.
It's gone with setting the following in my .bashrc
:
export LANG=en_US.UTF-8
The accepted answer didn't work for me. Working off of the downloaded source on a Mac running Lion, I went into the src
directory and ran:
make clean
export CONF_OPT_MULTIBYTE='--enable-multibyte'
make reconfig
Running: ./vim --version
to check for +muti_byte
then:
make install
Via: http://vim.1045645.n5.nabble.com/compiling-vim7-1-huge-version-gets-build-with-normal-version-td1162314.html