Yegappan wrote:

> When you change the directory using the :cd or :tcd or :lcd commands,
> the previous directory is remembered. You can change to this
> directory, by passing "-" as the directory name to these commands.
> 
> Currently only a single previous directory is remembered across
> :cd, :lcd and :tcd. If you have a tabpage local directory and change
> the global directory using ":cd", then the previous directory for
> the :tcd is also changed.
> 
> I think we should keep a separate previous directory for every window
> with a local directory, every tabpage with a local directory and the
> global directory. Any comments/suggestions?

It might complicate things too much.  When I use ":lcd somedir" and then
"cd -", what directory gets used for "-"?

-- 
ARTHUR: If you do not open these doors, we will take this castle by force ...
   [A bucket of slops land on ARTHUR.  He tries to retain his dignity.]
                 "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/ \\\
\\\  an exciting new programming language -- http://www.Zimbu.org        ///
 \\\            help me help AIDS victims -- http://ICCF-Holland.org    ///

-- 
-- 
You received this message from the "vim_dev" 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

--- 
You received this message because you are subscribed to the Google Groups 
"vim_dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/vim_dev/201905082029.x48KT6ui015495%40masaka.moolenaar.net.
For more options, visit https://groups.google.com/d/optout.

Raspunde prin e-mail lui