Archive for August 10, 2007

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