Loading ...
Sorry, an error occurred while loading the content.

121274Re: Incorrect working directory in gvim launched from Konqueror

Expand Messages
  • Jean Johner
    Mar 1 5:43 AM
      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
    • Show all 19 messages in this topic