dedukun / bookmarks.yazi

MIT License
59 stars 2 forks source link

What about to view all bookmarks? #19

Closed seriiserii825 closed 1 month ago

seriiserii825 commented 3 months ago

Hi, thanks for plugin. May be to add a keymap to view all bookmarks? Or i can't find them in documentation?

dedukun commented 3 months ago

Hey,

After adding bookmarks, when you use the jump function from the plugin, which is ' with the recommended keybindings, the bookmarks should appear with their respective key and associated path, like in the following picture:

212101_test-A

Does this not happen to you?

VimalMollyn commented 1 month ago

Hi! Thanks for the amazing plugin. I was wondering if there was a way to view the bookmarks one below the other in rows, rather than side by side (the default right now)

dedukun commented 1 month ago

When there are more than 3 options, the next ones are put in another row as shown in the next picture

095041_test-S

Now if you want for it to only show the options in rows, or to start stacking in rows instead of columns this is not possible at the moment. The plugin uses the ya.which method from Yazi's plugin API to show the values, and this method doesn't has any options to change this behavior.

VimalMollyn commented 1 month ago

Actually, I was able to modify the ya.which settings to display everything in 1 column in the theme.toml as follows.

[which]
cols = 1
dedukun commented 1 month ago

Oh I didn't know about that, I only looked at the plugin API and didn't think of looking into the theme options.

Good to know that that is available to the users, so I think that this solves your request right?

VimalMollyn commented 1 month ago

Yup, it does. Thanks!

dedukun commented 1 month ago

I'm closing this issue even though this discussion was a bit off topic about the question of the original author, but seeing that there were no more interactions with the original author in over a month, and no similar reports were raised, I don't think that this issue is relevant.