bug-bash
[Top][All Lists]
Advanced

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

Re: Vi mode and g commands


From: Chet Ramey
Subject: Re: Vi mode and g commands
Date: Mon, 8 Jun 2020 10:23:17 -0400
User-agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.14; rv:68.0) Gecko/20100101 Thunderbird/68.9.0

On 6/7/20 9:28 PM, Dan Shearer wrote:
> Some g commands are implemented, but incorrectly. Examples:
> * g0 is equivalent to 0, rather than 'beginning of screen line when wrapped'
> * g$ is equivalent to $, rather than 'end of screen line when wrapped'
> 
> Other g commands are not implemented, just ignored. Examples:
> * gM is ignored, rather than going to the middle of the line
> * gE is ignored, rather than going to the end of the last word

`g' isn't a valid command in POSIX sh vi editing mode (or vi itself).

-- 
``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/



reply via email to

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