Open singalen opened 3 years ago
First, little clarifications, to make things more tangled, There're two semi-duplicating features: 1 ~/.config/far2l/favorites that you're reffering 2 Folder Bookmarks that can be inserted by pressing Ins key file in Alt+F1 menu OR redacted from menu Commands/Folder Bookmarks. In original FAR they where called Folder Shortcuts and didnt appear in Alt+F.. menu and where accessible essentially only from hotkeys, for those who know. Now they're in Alt+F.. menus.
/ Add a separator after them,/
In file-based favorites, you can add (any count of) your own separators, separator entry should look like "-- Favorites
Wow. Is it documented? I could find it. Still not sure in what format do I add a NetRocks favorite.
Then, maybe, folder shortcuts and favorites should be the same thing?
I tried adding - Favorites
and -Favorites
lines (with and without space), it is displayed as a menu item and not as a separator.
I looked into Mounts::Enum::Enum()
, and I cannot see a code that does anything about separators.
did you put tab between dash and word? sorry, but github somehow eaten that fact from my prev message
Regarding unification - i initially planned to be favorites file as feature by eventuall came to conclusion to reuse that Shortcuts (now Bookmarks) feature will be more consistent and functional. And favorites file left just for those who already started to use it and may be for somebody it more convenient..
and for NetRocks connection to
sftp://example.com
.
NetRocks connection can be added to bookmarks/favourites? How?
again, two options: 1 via semi-documented ~/.config/far2l/favorites 2 - navigate wherever you want, press Alt+F1, Press Ins, Select position in list and press Ins again. Tada! From this moment you can quickly navigate to that location from Alt+F1/F2 menu and by Ctrl+Alt+DIGIT hotkey you selected
wow, Ins way worked good! btw, I have not managed to make same netrocks path work from favorites. only local paths do work
can you please add bookmark shortcuts by letters, not only just by numbers?
wow, Ins way worked good! btw, I have not managed to make same netrocks path work from favorites. only local paths do work
Likely you didnt prefix netrocks pathes with net: prefix (it was added recently)
can you please add bookmark shortcuts by letters, not only just by numbers?
The idea that numbers are same as Ctrl+Alt+# hotkeys, so thus you have: 2-in-1 menu access plus global hotkeys hint. Its also now possible to create bookmark that is not bound to digital shortcut - by putting it to the bottom of list. In this case it will not be accessible by Ctrl+Alt+#. Potentially its possible to make such entries have literal shortcuts in Alt+F1/2 menus, and even binding Ctrl+Alt+LETTER global hotkeys also possible, but need to ensure it will not override some existing shortcuts..
Potentially its possible to make such entries have literal shortcuts in Alt+F1/2 menus
That would be really helpful, thanks!
Favorites are a great feature, but it took me some time to figure out the format. Now, I have a few usability suggestions.
~/.config/far2l/favorites
if it doesn't exist. With no favorites, but with a description and a couple of examples, e.g.: for~Documents
and for NetRocks connection tosftp://example.com
.