I'm not talking about the previous line I was on while still editing a file but after I close a file and then enter vim again, I want to go to that line. How do I enable this?
Steps to 'reproduce':
vim filename.txt
:234
:q
vim filename.txt
## I want to be on line 234 now, not line 1.
/etc/vim/vimrcseach forUncomment the following to have Vim jump to the last positionand uncomment the relevant code lines. See this answer. (Also, of course,vim +234 filename.txt) – tomd Aug 06 '18 at 13:33