Vim doesn't support unicode?

前端 未结 9 937
余生分开走
余生分开走 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 18:11

    You need to compile vim with multi-byte support.

    The easiest way to do this is to run

    ./configure --with-features=big
    make
    

    This will build vim with the correct support.

    You can verify that it was compiled correctly with

    :version
    

    in vim or by running

    vim --version
    

    and looking for +multi_byte. If it says -multi_byte it will not work.

提交回复
热议问题