On Wed, Mar 02, 2005 at 08:26:57AM +0200, Rumen Yotov wrote: > Hi, > For some days can't display or input cyrillic chars in vim, gvim or > nedit. It works in browsers,mail etc. > It worked flawlessly till now. Searched in b.g.o - nothing IMO. > Also works in console. All ~x86 system. > As initially there were an error-message, when starting/loading a file: > ... > Error detected while processing /usr/share/vim/vimfiles/plugin/vimspell.vim: > line 1536: > E227: mapping already exists for \ss > line 1549: > E227: mapping already exists for \sl > Hit ENTER or type command to continue > ... > Renamed vimspell.vim, error gone, but then it began writing some weird > chars (latin ones are OK). > Any hints? Think of re-emerging vim and all gentoo-syntax/plugins. > Nothing in revdep-rebuild. > TIA > Rumen
Okay, vimspell often have trouble with non-English languages if it is not set up right. So ignore its problems first. In regard to vim/gvim, do you have the right fonts set up? For CJK languages, I have the following in /etc/vim/vimrc if v:lang =~ "^ko" set fileencodings=euc-kr set guifontset=-*-*-medium-r-normal--16-*-*-*-*-*-*-* elseif v:lang =~ "^ja_JP" set fileencodings=euc-jp set guifontset=-misc-fixed-medium-r-normal--14-*-*-*-*-*-*-* elseif v:lang =~ "^zh_TW" set fileencodings=big5 set guifontset="-Arphic Technology Co.-AR PL Mingti2L Big5-medium-r-normal--0-0-0-0-c-0-big5-0,-sony-fixed-medium-r-normal--16-150-75-75-c-80-iso8859-1,-taipei-fixed-medium-r-normal--16-150-75-75-c-160-big5-0" elseif v:lang =~ "^zh_CN" set fileencodings=gb2312 set guifontset=*-r-* endif if v:lang =~ "utf8$" || v:lang =~ "UTF-8$" set fileencodings=utf-8,latin1 endif The vimspell trouble looks like something is trying to load the vimspell definitions twice. What is in your ~/.vimrc? how about /etc/vim/vimrc? (The \ss and \sl are commands used for checking the document and changing the language for vimspell IIRC. ) If nothing, try putting "let loaded_vimspell = 1" in your ~/.vimrc (without the quotes). If you open a file now, does spell check work? W -- ---------------------------------------------------------------- * Address: 45 Spelman Hall, Princeton University 08544 * * Phone: x68958 AIM: AngularJerk * * E-mail: [EMAIL PROTECTED] From: sep.dynalias.net * ---------------------------------------------------------------- Dinner - a healthy part of this complete breakfast. Sortir en Pantoufles: up 6 days, 22:17 -- gentoo-user@gentoo.org mailing list