I installed a vimscript written by expert in this question.
But there is one problem in the script. When I restart the computer, the bookmarks saved by the script will disappear.
Is it possible to store the bookmarks to another file (e.g. mybookmarks.txt) instead of .viminfo file? Bookmarks stored in .viminfo disappear unpredictably.
Since it seems like a good tool in general, I extracted it to a plugin: http://www.vim.org/scripts/script.php?script_id=3826. This would store bookmarks only, regardless of viminfo settings, in
~/.vim_bookmarks. The filename is configurable by changingg:simple_bookmarks_filename.Since it’s a full blown plugin now, you can send bug reports on the issue tracker, so if it’s not working quite right, let me know.
Cheers.