Per document dictionay modifications?

2006-05-28 Thread Geoffrey Alan Washburn
I looked through the help files and examined the archives but didn't see anything that sounded like this. Essentially, I was interested in knowing whether there was any way to set per document dictionary modifications? In the papers I write there are words/keywords that are very specific to

Re: Per document dictionay modifications?

2006-05-28 Thread Eric Arnold
You could store the associations in a global dict variable, and use it in the BufWinEnter. You could then store the dict var in your .vimrc, a separate file, or let viminfo handle it. On 5/28/06, Geoffrey Alan Washburn [EMAIL PROTECTED] wrote: Gerald Lai wrote: Since 'spellfile' cannot be

Re: Per document dictionay modifications?

2006-05-28 Thread Gerald Lai
On Sun, 28 May 2006, Geoffrey Alan Washburn wrote: Gerald Lai wrote: Since 'spellfile' cannot be set from a modeline for security reasons, you can try placing something like this in your vimrc: autocmd BufWinEnter * \ if expand(%:t) == myfile1.txt | \ set