add cursor position history #6

wants to merge 1 commit into

2 participants



please add this to your awesome vimrc


This is already done via:

" Return to last edit position when opening files (You want this!)
autocmd BufReadPost *
     \ if line("'\"") > 0 && line("'\"") <= line("$") |
     \   exe "normal! g`\"" |
     \ endif
" Remember info about open buffers on close
set viminfo^=%

The thing I can see that yours does better is handling folding.

@amix amix closed this Apr 13, 2013
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment