On Mon, Aug 18, 2008 at 06:24:39PM +1000, Amos Shapira wrote:
> 2008/8/18 Tzafrir Cohen <[EMAIL PROTECTED]>:
> > Here's a different way to do that:
> >
> > Ctrl-R # search for the command. Find it.
> > set -o vi
> > Esc #to get into command mode
> > v   #edit the command in VISUAL and execute
> 
> I didn't quiet follow how you enter the "set -o vi". Maybe you can
> give the exact key-sequence?

If you were already in vi mode of the shell, you don't need to do
anything. Though that line is harmless.

While the shell is in Emacs mode (that is is the default), type the
following keys in the new shell prompt line:

 s
 e
 t
 ' '  (a space character)
 -
 o
 ' ' (space again)
 v
 i

And then hit the Enter key

:-)

-- 
Tzafrir Cohen         | [EMAIL PROTECTED] | VIM is
http://tzafrir.org.il |                    | a Mutt's
[EMAIL PROTECTED] |                    |  best
ICQ# 16849754         |                    | friend

=================================================================
To unsubscribe, send mail to [EMAIL PROTECTED] with
the word "unsubscribe" in the message body, e.g., run the command
echo unsubscribe | mail [EMAIL PROTECTED]

Reply via email to