The UNIX and Linux Forums  

Go Back   The UNIX and Linux Forums > Top Forums > UNIX for Dummies Questions & Answers
Google UNIX.COM


UNIX for Dummies Questions & Answers If you're not sure where to post a UNIX or Linux question, post it here. All UNIX and Linux newbies welcome !!

More UNIX and Linux Forum Topics You Might Find Helpful
Thread Thread Starter Forum Replies Last Post
visited websites jake2891 UNIX for Dummies Questions & Answers 3 01-07-2008 12:10 AM
Two Login's - Remember only one. Cameron Forum Support Area for Unregistered Users & Account Problems 2 09-27-2007 06:04 PM
go to previously visited directory swag:þ UNIX for Dummies Questions & Answers 7 07-15-2005 12:05 AM
AWK--does anyone remember it cnitadesigner Shell Programming and Scripting 2 12-06-2004 01:27 PM
It's been awhile...help me remember catbad Shell Programming and Scripting 2 07-15-2002 12:48 PM

Reply
 
LinkBack Thread Tools Display Modes
  #1 (permalink)  
Old 05-24-2006
Registered User
 

Join Date: May 2006
Posts: 5
remember last visited line in vim

hi, I know we can do this; but dont know how..

I open a file using vim..browse thru it and then say :wq after reaching some line;

The next time I open the same file, I want vim to position the cursor on the line where I left last time;

anyone?
Reply With Quote
Forum Sponsor
  #2 (permalink)  
Old 05-24-2006
Moderator
 

Join Date: Sep 2002
Location: Hong Kong, China
Posts: 1,414
http://www.vim.org/tips/tip.php?tip_id=80

Don't ask me what it is though.
Reply With Quote
  #3 (permalink)  
Old 05-24-2006
Registered User
 

Join Date: May 2006
Posts: 5
hi thanks! thats definitely "life changing!"
Reply With Quote
Google UNIX.COM
Reply

Thread Tools
Display Modes




All times are GMT -7. The time now is 02:13 PM.


Powered by: vBulletin, Copyright ©2000 - 2006, Jelsoft Enterprises Limited.
The UNIX and Linux Forums Content Copyright ©1993-2008 The CEP Blog All Rights Reserved -Ad Management by RedTyger Visit The Global Fact Book

Content Relevant URLs by vBSEO 3.2.0