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've added some bookmarks with :bmark and I'd like to give them a custom order in the bookmarks menu shown with :bmarks. I've tried editing the vifminfo file but it doesn't work. Is there something I am missing?

1 Answer

0 votes
by

Didn't occur to me that the order of bookmarks ends up being quite random. It's probably a good idea to sort entries in :bmarks menu.

I've tried editing the vifminfo file but it doesn't work.

While this isn't recommended to change that file manually, you can reorder bookmarks there. It's not recommended partially because vifm might affect your changes like in this case. Before editing this file close all instances of vifm you have running, otherwise quitting them later will undo your edits.

by

I would like to reorder the bookmark menĂº, is editing vifminfo the only way to achieve this?

by

I would like to reorder the bookmark menĂº, is editing vifminfo the only way to achieve this?

That won't work anymore since I've added sorting of entries (case-insensitive sorting of paths) after this question was asked.

Reordering would need some keys in the menu to move an entry up/down and a priority associated with each bookmark to use for sorting. Current format of vifminfo is JSON which allows adding new fields when needed, so this can be added.

by

I can already map those keys or priority is something that isn't still there code-wise? thank you for the effort

by

It needs to be implemented in the code.

If you would like to make a bug report or feature request consider using GitHub, SourceForge or e-mail. Posting such things here is acceptable, but this is not a perfect place for them.
...