project.nvim
project.nvim copied to clipboard
Improvement: Add options to "Telescope projects" to open the project without specifying the file
What hapens
When I press ENTER on a project, another telescope window ask me what file to open.
What I want it to hapen
When I press enter, just cd to the project without opening any file.
Commentary
This is useful for neotree users who prefer to explore the tree visually.
You should be able to just change the project root with <C-w>: https://github.com/ahmedkhalf/project.nvim/blob/main/lua/telescope/_extensions/projects.lua#L165
@devboy There should be option to change default action. <CR> is usually much easier to go for and not all people need to search files. I would say this is much needed feat.
@Zeioth You can try to apply my changes #125 locally and use option with setup: telescope_default_action= "cd"