stick this in the .vimrc file: s F6 to lookup sigle danish word map <F6> :call Test_danish("xxx")<cr>
fun! Test_danish(pattern) let a = expand("<cword>") :execute "!grep " . a . " /usr/share/dict/danish" endfun "press F7 to lookup sigle english word map <F7> :call Test_english("xxx")<cr> fun! Test_english(pattern) let a = expand("<cword>") :execute "!grep " . a . " /usr/share/dict/american-english" endfun On Fri, Jun 21, 2002 at 05:02:47PM +0200, Martin A. Hansen wrote: > does anyone know how to get vim to spell check a single word with > :set keywordprg=ispell ??? > > im not sure that can be done on a debian system, but what then? > > and how do you handle multiple languages? > > > martin > > > -- > To UNSUBSCRIBE, email to [EMAIL PROTECTED] > with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED] -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]