vim unicode setup for windows 2000

To display unicode (utf8) files in vim in windows, the following commands should be added to %PROGRAMS%\Vim\_vimrc:

set encoding=utf-8
set guifont=Courier_New:h12
set guifontwide=Arial_Unicode_MS:h12

The built-in method to input diacritical marks is to use vim digraphs, Ctrl-K + symbol1 + symbol2. The full list of them can be displayed using :digraphs command.

Categories: vim windows

Updated: