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

Recent projects, display options for the table #124

Open
keevan opened this issue Jun 30, 2023 · 0 comments · May be fixed by #127
Open

Recent projects, display options for the table #124

keevan opened this issue Jun 30, 2023 · 0 comments · May be fixed by #127

Comments

@keevan
Copy link

keevan commented Jun 30, 2023

Hey! Great project.

Is there a way to shorten the name displayed on the recent projects menu? I noticed that the default menu is small, and the path to the $HOME directory is redundant and mostly unnecessary.

This might differ per OS, and I understand that. For example, the projects I work on have submodules / nested git repositories, and the path can get quite long. I think it would be great if we have an option to:

  • by default shorten the path to the $HOME directory and replace it visually with a ~ instead
  • add an option to visually display up to N directories leading up to the name of the saved project (default could be 2 like for telescope find files)

I'm not too familiar with telescope integration but I believe the changes should live in this file:

local displayer = entry_display.create({

If I have some time I might look at PR'ign this myself, some guidance would be appreciated.

keevan added a commit to keevan/project.nvim that referenced this issue Jul 9, 2023
keevan added a commit to keevan/project.nvim that referenced this issue Jul 9, 2023
@keevan keevan linked a pull request Jul 9, 2023 that will close this issue
keevan added a commit to keevan/project.nvim that referenced this issue Jul 24, 2023
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 a pull request may close this issue.

1 participant