bug-bash
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: glob-expand-word and vi-command mode


From: Chet Ramey
Subject: Re: glob-expand-word and vi-command mode
Date: Sat, 3 Feb 2024 15:43:45 -0500
User-agent: Mozilla Thunderbird

On 2/2/24 9:39 AM, Mike Jonkmans wrote:
 From the manual, glob-expand-word:
   The word before point is treated as a pattern for pathname expansion,
   and the list of matching filenames is inserted, replacing the word.
   If a numeric argument is supplied, an asterisk is appended before
   pathname expansion.

glob-expand-word doesn't work that great in vi command mode, mostly for
the reasons you suspect. What made you use it over the standard vi mode
binding for `*' (vi-complete)? That behaves like POSIX says it's supposed
to in vi command mode.

--
``The lyf so short, the craft so long to lerne.'' - Chaucer
                 ``Ars longa, vita brevis'' - Hippocrates
Chet Ramey, UTech, CWRU    chet@case.edu    http://tiswww.cwru.edu/~chet/

Attachment: OpenPGP_signature.asc
Description: OpenPGP digital signature


reply via email to

[Prev in Thread] Current Thread [Next in Thread]