Dear list,

One of my favorite features of vim is that when I open a file, it
automatically jumps to where I left off last time. I think this is a
useful feature to have (especially for long files) and would like to
ask which of the following options you like better.

1. Remember the location under $HOME/.lyx and jump to it when a .lyx
file is opened. I think this is what vim is doing. The shortcoming is
that automatic jump may be too intrusive.

2. Save bookmarks with the lyx file. A user can save bookmark, close
the file, and go to the bookmark after the file is re-opened. Another
user can also jump to these locations. This method has the advantage
that multiple locations can be saved.

It is tempting to have a menu item named something like 'last edited
location' under navigate -> bookmarks so a user does not have to save
bookmark explicitly. The problem is that the lyx file will be changed
without actual content change, which can be irritating if the file is
under version control.

3. (The one I would suggest) Save bookmarks and 'last edited location'
 under $HOME/.lyx. Set these to navigate -> bookmarks when a lyx file
is opened.

Any other suggestion would also be welcome.

Cheers,
Bo

Reply via email to