-
Notifications
You must be signed in to change notification settings - Fork 138
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
Directory does not change when changing projects through Telescope #150
Comments
I have the same problem. After opening up a project with the telescope picker, going to my lua config with the ":e" command doesn't change the cwd. So when I try to search for a file in my config, files from the previous project comes up. |
@aburak621 For me, everything works fine, like the projects load and if I do telescope, it shows the files and the folders for the correct place, the only problem is after the first time, the plugin does not cd into new projects (or at least the shell does not recognize it). |
same problem, any updates? |
Looks like it does not relate to the telescope plugin. I've noticed the same happens if I just open a dir via So when the directory opens we end up in the project.nvim/lua/project_nvim/project.lua Lines 243 to 246 in 8c6bad7
In my case I have I'm not sure about the right fix here, but it feels like project.nvim should be able to deal with the protocols somehow, maybe ignore custom protocols? IDK yet.. |
FWIW, everything works fine with the default Netrw explorer. |
This plugin works well and I enjoy it, great work.
I run nvim anywhere and I hit certain keys to open :Telescope projects, which opens project list,
I open a project, and run :!pwd, sure thing, the directory change has happened.
However, if I change the project again through the same keybinding (:Telescope projects), the change happens and every other plugin works with it, including telescope, but running !pwd shows that I'm still on the first opened project.
I wonder how to solve this?
This is an issue for me becuase I want to start Tmux sessions based on the current project I work on.
Best
The text was updated successfully, but these errors were encountered: