VIM Not Restoring Position

For some reason, vim stopped recording the last position in the files I was editting. I think it is related to a recent upgrade. Regardless, adding these lines to my ~/.vimrc restored the functionality



set viminfo
='10,\"100,:20,%,n~/.viminfo
    au BufReadPost * if line("'
\"") > 0|if line("'\""

No related posts.

Leave a Reply

Your email address will not be published. Required fields are marked *

*