Complex Scripts in Vim and gVim
I am learning Vim, and it is great. But the problem with Vim and gVim is that it doesn't support any complex scripts like Devanāgarī; it is not rendered properly. See the screenshots below:
Rendering in Vim:
Correct Rendering (in gEdit, Emacs, KWrite):
Is there any way to make Vim or gVim support c开发者_Python百科omplex scripts? This affects all Indic scripts. I tried changing the font just in case, but it didn't help.
Check:
set fileencoding
set encoding
Also check again the font. Not all font support everything.
Change the font in vim to the default font in gEdit (or whatever editor you were using in screenshot #2). Is the rendering incorrect with the same fonts?
Vim in gnome-terminal seems to be correct as it uses the same routines for rendering as gedit does (default Ubuntu 10.04).
Check the value of the iminsert
option.
Specifically, try setting
:set iminsert=2
精彩评论