browse.nvim icon indicating copy to clipboard operation
browse.nvim copied to clipboard

feature: "folders" in bookmarks

Open corani opened this issue 2 years ago • 2 comments

Currently the bookmarks are a single flat list. By using nested lists it would be possible to support "folders". Something like:

bookmarks = {
    ["My first folder"] = {
        "https://some.nested/website",
    },
    "https://github.com/lalitmee/browse.nvim",
}

corani avatar Jul 12 '22 06:07 corani

@corani, if you create folders in the bookmarks then how are you planning to show these in the telescope search?

lalitmee avatar Jul 13 '22 04:07 lalitmee

@lalitmee I'm not sure if Telescope supports some kind of drill-down, where after selecting the folder it shows a new dialog with the contents of that folder. If that is not the case, then perhaps the simplest thing to do is to treat it as a "filesystem", prefixing the links with their folder (something like My first folder / https://some.nested/website).

corani avatar Aug 25 '22 03:08 corani

Implemented aliases or tags in ee0fc5d4ad66c35f0a02d917bc580de94262464e

lalitmee avatar Feb 01 '23 23:02 lalitmee

For now, I have implemented groups support in bookmarks with 3336967066f57af56e6d2a8c07ac09acce351cd5.

I don't think that I would like to have folder in my bookmarks. So if anyone is interested, please raise a PR.

I will keep this issue open.

lalitmee avatar Feb 02 '23 18:02 lalitmee

@corani, I think the update which I have done yesterday to the bookmarks list, that solves your issue. Please try and let me know.

Then we can close this issue.

lalitmee avatar Feb 03 '23 12:02 lalitmee