my life

day to day

Archive for August 10th, 2007

VIM Not Restoring Position

Friday, August 10th, 2007

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("'\\""

add to del.icio.us    add to technorati favs   email this