[lug] Vim discovery

Ken Scott kscott-list at pcisys.net
Wed Jun 20 14:37:35 MDT 2001


On Wed, 20 Jun 2001, Chip Atkinson wrote:

> Greetings,
> 
> I was trying to replace a pattern and got it wrong.  Normally I retype 
> the whole expression.  However, I tried the up arrow key from the : 
> command line.  The replacement command popped up.  Wow.  Now I just back 
> up and fix the part.
> 

Same thing works for searches. Press the '/' and then the up arrow and you
will see your past few searches. The number that are remembered is
controlled by your viminfo file (:h viminfo)

Ken

-- 
><>   Ken Scott   kscott at pcisys.net   http://www.pcisys.net/~kscott   
                                                                      
              This is the day that the Lord has made;             
              I will rejoice and be glad in it!          -- Psalm 118:24  




More information about the LUG mailing list