durgaprasad jammula wrote:

   I just need some help on vim configuration.

   Let say the file is good.text. I open the file and goto 66 line and come out 
by typing :wq in escape mode.

   Now, when I open it again, my cursor is placed in line 0. I want it to be 
placed in line 66.

   I am facing this problem in my Solaris 10 x86 machine. The same thing is 
working fine in Linux.

   Can you please help me what configuration do I need to change to enable this 
feature. [I have tried Google search and could not get useful links].

Read http://vim.sourceforge.net/tips/tip.php?tip_id=80 ,
"Restore cursor to file position in previous editing session".

HTH,
Chip Campbell

Reply via email to