Hi Arup,
On Friday, 2014-03-14 16:46:51 -0700, Arup Rakshit wrote:
> [... jump to the last position when reopening a file ...]
In your .vimrc have
au BufReadPost * if line("'\"") > 1 && line("'\"") <= line("$") | exe "normal! g`\"" | endif
Taken from :h last-position-jump
Works like a charme.
Eike
--
OpenPGP/GnuPG encrypted mail preferred in all private communication.
Key ID: 0x65632D3A - 2265 D7F3 A7B0 95CC 3918 630B 6A6C D5B7 6563 2D3A
Support the FSFE, care about Free Software! https://fsfe.org/support/?erack
Use LibreOffice! https://www.libreoffice.org/
Saturday, March 15, 2014
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment