Answer to vi question: How to return to visual mode.

Michelle Manning mmm at ozvax.WV.TEK.COM
Sat Jun 17 02:54:37 AEST 1989


** I was unable to reach jma by email, and thought that the answer **
** might be of general interest, and so I'm posting this reply.    **


In article <159 at jma.UUCP> you write:
>
>Some times, in vi, I hit some unknown key sequence that throws me
>into a command mode that I have not been able to return to visual
>mode from.  Any ideas? 
>

This happened to me many times, until I was able to determine that
the "unknown key sequence" was a shift-Q - which puts you into 
the command mode (where you have a ":" at the bottom of the screen).

Normally, when a ":" command is completed, it will return you to visual
mode.  However, when you use shift-Q, it will *leave* you in ":" command
mode until you tell it you want out.  To tell it that you want to go
back to visual mode, type "vi" at the ":" prompt -

		:vi <RETURN>

You should now be back in visual mode.  Hope this helps!

-mmm	;-)

==================================================================
 Michelle M. Manning, Eng. Ops. Analyst      mmm at ozvax.WV.TEK.COM
 Visual Systems Group, ITD Engineering
 Tektronix, Inc.                                   (503) 685-2644
==================================================================
     "My opinions are the only thing I *can* call my own!!"
==================================================================



More information about the Comp.unix.questions mailing list