Hi, Just a hint for Ubuntu Feisty (probably applies to other Linux distributions) users, who open tex files from nautilus using gvim. When you open tex file from nautilus window, gvim does not set current directory to the directory where the file is. This creates few problems for vim-latex. I found two (possibly there are more):
1. ViewLateX command does not work, you cannot call xdvi or other viewer using vim-latex 2. If you use bibliography with BibTeX, F9 completion does not work. All these problems goes away, if you set current directory to the directory where the file resides. Here is the shortcut for achieving this: nmap <F4> :exec 'cd '.expand("%:p:h")<CR> :echo getcwd()<CR> Of course you can assign it to any keyboard shortcut you want to. I hope this hint will save somebody some time. It surely would have saved mine. Vaidotas Zemlys ------------------------------------------------------------------------- This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2005. http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ _______________________________________________ Vim-latex-devel mailing list Vim-latex-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/vim-latex-devel