Vim doesn't support unicode?

前端 未结 9 942
余生分开走
余生分开走 2020-12-12 17:34

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

9条回答
  •  粉色の甜心
    2020-12-12 17:54

    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
    

提交回复
热议问题