help-bash
[Top][All Lists]
Advanced

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

Re: [Help-bash] gv in vi mode with multiple lines


From: Peng Yu
Subject: Re: [Help-bash] gv in vi mode with multiple lines
Date: Mon, 2 Jul 2012 08:56:21 -0500

> Readline only works a line at a time.  If the calling application needs to
> build commands of more than one line, like bash, it constructs them from
> multiple calls to readline.  Bash does its best to retrieve mult-line
> commands from the history list and allow the `v' command to edit them, but
> it can always be made better.

Just to make sure. So you mean that there is no way to allow
multi-line for my example in bash yet, but it can be improved. Right?

>> BTW, I don't find where the description of the gv usage. Could anybody
>
> I'm not sure what you're trying to do with the `g, since it's not bound to
> anything.  The `v' command is described in

I didn't know g was not necessary. My mistake.

> http://pubs.opengroup.org/onlinepubs/9699919799/utilities/sh.html#tag_20_117_13_03

This is from sh. Shall you added the document to man bash?

-- 
Regards,
Peng



reply via email to

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