[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: "alt-period" (alt-.) when previous command was backgrounded with &
From: |
Sitaram Chamarty |
Subject: |
Re: "alt-period" (alt-.) when previous command was backgrounded with & |
Date: |
Mon, 19 Oct 2009 14:01:22 +0530 |
On Mon, Oct 19, 2009 at 6:08 AM, Chet Ramey <chet.ramey@case.edu> wrote:
> Sitaram Chamarty wrote:
>> Hello,
>>
>> When the previous command was backgrounded (say "gvim
>> filename.c &") and then you try some other command using
>> Alt-., it expands to "&" and not "filename.c".
>>
>> Is this considered a bug? Or correct behaviour that just
>> happens to be not useful in this specific case?
>
> M-. uses the last word from the previous line. If that happens to
> be `&', that's what it uses.
ok thanks; I suspected as much (that this was working as intended, and
the situation I brought up was an edge case) but appreciate the
confirmation.