Restore cursor position when opening a file

Done, thanks @argentum. I’d mistakenly thought I was posting this in #feature-requests.