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)
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:
~
insteadI'm not too familiar with telescope integration but I believe the changes should live in this file: https://github.com/ahmedkhalf/project.nvim/blob/8c6bad7d22eef1b71144b401c9f74ed01526a4fb/lua/telescope/_extensions/projects.lua#L32
If I have some time I might look at PR'ign this myself, some guidance would be appreciated.