Welcome to Vifm Q&A, where you can ask questions about using Vifm. Registration is optional, anonymous posts are moderated. E-mail and GitHub logins are enabled.
0 votes
in vifm by

I would like to easily manage bookmarks per host, storing them in a dedicated file would be awesome. It's possible to configure this?

1 Answer

0 votes
by

You can create files with :delbmark! followed by :bmark commands to set bookmarks that you want and source one of them on demand. This does mean that you'll have to update those files manually. Lua API that can enumerate all existing bookmarks could allow generating such files, but it doesn't exist yet.

by

I already have bookmarked some paths with :bmark, but they're stored in vifminfo.json and this file contains other settings too. How can I save/source them to/from a dedicate file (if that's possible)?

by

There is no mechanism of importing/exporting bookmarks, writing a set of commands to a file is the closest thing available.

You could try abusing sessions by limiting 'sessionoptions' to bmarks, this way session files will contain only bookmarks and the rest will be stored in vifminfo.json.

by

thank you for let me know my options, I will thinker directly on the vifminfo.json file

...