I want to open a file which is closed in line xxx. So I can easily continue editing
How to open a file in the last closed position in VI
vim;vi
You can setup an autocommand that executes when you open a file. If you add this to your .vimrc, that will do it.au BufReadPost * if line('\) > 1 && line('\) <= line($) | exe normal! g`\ | endifSee :help last-position-jump; this line is pulled straight from there.