unmapping thinkpad back forward key?

2006-07-31 Thread Jiang Qian
Hi All: I've been out of clue with this one: I have a thinkpad notebook, which has backward and forward key just above arrow back and arrow forward. In X, I add the lines to ~/.Xmodmap: keycode 234=F19 keycode 233=F20 to map the two keys to something useful. If I use gvim and type the Forward

html syntax highlighting disable spell check?

2006-05-26 Thread Jiang Qian
Hi All: I apologize for breaking the thread. I just share dc's problem about syntax highlighting in html and build-in spellchecker: when I edit a html file spell checking doesn't work, but as soon as I do syntax off the spell check works again! Any idea how to remedy it? I compiled vim 7 from

spell check for multiple languages?

2006-05-26 Thread Jiang Qian
Hi all: I love the new spell check features. I usually write in English, which is why I set my spellchecker to en-us. However I sometimes write in Chinese, which AFAIK has no vim spell checker. So every time I write something it will underline it. Of course I can manually write :set nospell to

Re: spell check for multiple languages?

2006-05-26 Thread Jiang Qian
If you have a file in _mixed_ language (part of the file in English and another part in Chinese), then I don't know if (or how) Vim can spell-check only the English paragraphs. It might be as simple as excluding anything in the Chinese part of the Unicode range from spell-checking