Yakov Lerner wrote: > Giving buffer new name in different directory does not change > to new directory, when 'acd' is set. This does not sound right, > taking into account that switching buffers to and back makes > current directory right. > > To reproduce: > % vim -u NONE ~/xxx > :set acd > :he acd " to have 2nd buffer > Ctrl-W<down> " back to ~/xxx > :file /tmp/1 > :pwd " wrong current dir, we expect /tmp > Ctrl-W<up><Ctrl-W>down " now pwd becomes right > " same happens with :saveas instead of :file > :saveas /var/tmp/2 > :pwd " wrong current dir, we expect /tmp > Ctrl-W<up><Ctrl-W>down " now pwd becomes right > > Bug or feature ?
I suppose 'acd' should take effect here. -- FATHER: Who are you? PRINCE: I'm ... your son ... FATHER: Not you. LAUNCELOT: I'm ... er ... Sir Launcelot, sir. "Monty Python and the Holy Grail" PYTHON (MONTY) PICTURES LTD /// Bram Moolenaar -- [EMAIL PROTECTED] -- http://www.Moolenaar.net \\\ /// sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ \\\ \\\ download, build and distribute -- http://www.A-A-P.org /// \\\ help me help AIDS victims -- http://ICCF-Holland.org ///