On 5/21/07, Tim Chase <[EMAIL PROTECTED]> wrote:
> In a script, how do I get the value of ~ -- the last used
> replace-to string, as used in s//~/ ?

While I've wondered this in the past, and don't have an answer at
the moment,

It seems natural to patch expand() function to return this.
The question which argument to use. expand('~') ?
This is home directory. expand('s~') maybe ?

Yakov

Reply via email to