durgaprasad jammula wrote:
Hi,

    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].

Thank you
Durga Prasad


There is an autocommand near the end of the vimrc_example which does just that; so adding

        runtime vimrc_example.vim

near the top of your vimrc should be enough.


Best regards,
Tony.
--
Puns are little "plays on words" that a certain breed of person loves
to spring on you and then look at you in a certain self-satisfied way
to indicate that he thinks that you must think that he is by far the
cleverest person on Earth now that Benjamin Franklin is dead, when in
fact what you are thinking is that if this person ever ends up in a
lifeboat, the other passengers will hurl him overboard by the end of
the first day even if they have plenty of food and water.
                -- Dave Barry, "Why Humor is Funny"

Reply via email to