Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: enable to use multi dirs for each workspace #268

Merged
merged 2 commits into from
Nov 24, 2024

Conversation

delphinus
Copy link
Member

@delphinus delphinus commented Sep 8, 2024

Fix #264

Now you can set multiple directories into each “workspace”.

workspaces = {
  CONF = "/home/my_username/.config",
  DATA = "/home/my_username/.local/share",
  WIKI = "/home/my_username/wiki",
  PJT = {
    "/home/my_username/project_foo",
    "/home/my_username/project_bar",
    "/home/my_username/project_foobar",
  },
}

If you call :Telescope frecency workspace=CONF, you can get entries filtered out with the directory (~/.config) itself. In case :Telescope frecency workspace=PJT, you can get combined results with entries under each directories (~/project_foo, ~/project_bar and ~/project_foobar).

@delphinus delphinus force-pushed the feat/multi-workspaces branch from 041d045 to 20f127b Compare September 19, 2024 06:04
@delphinus delphinus force-pushed the feat/multi-workspaces branch 6 times, most recently from 7501f1e to 433d05f Compare November 24, 2024 07:33
@delphinus delphinus force-pushed the feat/multi-workspaces branch from 433d05f to e5c3f72 Compare November 24, 2024 07:38
@delphinus delphinus marked this pull request as ready for review November 24, 2024 07:41
@delphinus delphinus merged commit 872602f into master Nov 24, 2024
18 checks passed
@delphinus delphinus deleted the feat/multi-workspaces branch November 24, 2024 08:21
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

[Feature request]: enhance the workspaces setting to use list of paths as values
1 participant