Tuesday, March 1, 2011

Re: Incorrect working directory in gvim launched from Konqueror

Hello,
Thank you for your answers.
In summary:
- Using "autochdir" is better than nothing, with the complications
described by Marco

- Using
au VimEnter * if expand('%') != ""' | cd %:h | endif
(note that the double quote must be doubled)
solves the problem (don't ask me why). Thank you Jürgen.

- I see no fatality why gvim is unable to have this behaviour by
default. Launching Nedit or emacs in the same conditions results in
the correct working directory. I will submit the problem to vim_dev
(did you eNG1Ne ?)

Best regards.

Jean Johner


--
You received this message from the "vim_use" maillist.
Do not top-post! Type your reply below the text you are replying to.
For more information, visit http://www.vim.org/maillist.php

No comments:

Post a Comment