Monday, May 10, 2010

RE: Automatic sessions

Udo Hortian wrote:
> recently I was using vim on a OpenSuse system. I found that
> when I was editing a file with vim, closed vim and opened
> this file again with vim, I found myself at the same position
> in the file as before. I am not sure, but I guess this was
> done via sessions. How can I get this working on my system
> (Debian squeeze, vim 7.2.330-1)?

The tip for this is a real mess:
http://vim.wikia.com/wiki/Restore_cursor_to_file_position_in_previous_editing_session

The essential info is to see the last part of ':help line()'.

John

--
You received this message from the "vim_use" maillist.
Do not top-post! Type your reply below the text you are replying to.
For more information, visit http://www.vim.org/maillist.php

No comments: