Re: [Vim-latex-devel] Ordering of Dictionary
Brought to you by:
srinathava,
tmaas
From: Mikolaj M. <mi...@wp...> - 2004-02-09 10:06:56
|
Dnia Monday 09 of February 2004 03:29, Aditya Mahajan napisał: > Hi, > I face this little annoyance when using the dictionary feature of > vim-latex. Suppose I want to complete 'doc' to documentclass. If there > are dictionaries set in my vimrc, then latexsuite searches > ftplugin/latex-suite/dictionaries/dictionary and the second word is > the correct hit. But if I have a dictionary set in vimrc, then CTRL-X > CTRL-K will search those dictionaries first and then come to the latex > dictionary. I have found a simple method to get rid of this annoyance. > Simply change the order in which the dictionaries are set. > > There are two files that set the dictionary option, main.vim and > packages.vim. Change the line > > set dict+=new_dict > to > set dict=new_dict,&dict How set dict^=new_dict :help :set^= Works for you? m. -- LaTeX + Vim = http://vim-latex.sourceforge.net/ Learn Touch Typing with Vim? Oui. Ja. Yes. Tak: http://vim.sourceforge.net/script.php?script_id=461 |