On Fri, 2003-07-11 at 09:25, Jake Johnson wrote: > I used to be able to use the arrow keys to move around with out any > problems, but know when I move (with the arrow keys after pressing "i") to > the beginning of the line I have to press I again. How do I change it so > that I don't always have to press "i"? I hope that wasn't too confusing. > > example > > vi test.txt > (hit i for inserting) > bbbbbb > bbbbbb > bbbbbb > (my problem is when I want to insert the letter "a" in font of each line > abbbbb > abbbbb > abbbbb
The easiest way to do this is to type: A [insert at the beginning of the line] <text><ESC> j [moves down one line] . [re-does the last command] This will work in both vi and vim. rgh > > Hope this makes sense. I know this is a bit picky. > > Regards, > Jake Johnson > [EMAIL PROTECTED] > > ______________________________________________________________________ > Plutoid - http://www.plutoid.com - Shop Plutoid for the best prices on > Rims, Car Audio, and Performance Parts. -- "It is possible to make things of great complexity out of things that are very simple. There is no conservation of simplicity" -- Stephen Wolfram Richard Heycock <[EMAIL PROTECTED]> tel : 0410 646 369 key fingerprint : 909D CBFA C669 AC2F A937 AFA4 661B 9D21 EAAB 4291 -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]