[Vim-latex-devel] Input completion undesired behavior
Brought to you by:
srinathava,
tmaas
From: Thomas K. <thk...@gm...> - 2011-02-22 15:34:50
|
Hi, I think I just found a rather unpleasant behavior in vim-latex. I have a multiple-file setup. thesis.tex Chapters/ doc1.tex doc2.tex tables/ 1.tex 2.tex 3.tex figures/ 1.pdf 2.pdf 3.pdf I am in doc1.tex. my pwd is ROOT. I type (C is the cursor in insert mode, delimiterMate automatically closes the braces i type, hence the "{}"): \input{C} Now pressing F9 opens a __Choose_File__ window and shows me the files of the ROOT/Chapters. pwd switched to ROOT/Chapters as well. I select "../", move down to "tables/" and select it. last i select 1.tex. vim-latex replaces the cursor with "1.tex". the problem is though, that my pwd is now ROOT/Chapters. Why is this a problem? Because other plugins pick up on the pwd (i.e. nerdtree, command-t,...) and I don't see a reason to change pwd in such a use case to be honest. Best, Thomas |