Add This to Your vimrc to Pick up Where You Left Off

28 days ago
3

I hate quitting Vim and then restarting it only to find the cursor is back at the top of the file I was editing. I prefer to resume where I left off. Thankfully, Vim already stores the last cursor position for each file you edit. So, add this simple config change to restore the position when opening files. That way you can resume editing whatever part you last worked on without scrolling and jumping around to find it yourself.

Loading comments...