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

Deleting current worktree messes things up #107

Open
TamaMcGlinn opened this issue Mar 14, 2023 · 0 comments
Open

Deleting current worktree messes things up #107

TamaMcGlinn opened this issue Mar 14, 2023 · 0 comments

Comments

@TamaMcGlinn
Copy link

When deleting the current worktree, we end up with still the buffer open inside that worktree, the :pwd becomes E187: Unknown, and we are unable to use Switch_Worktree because of E344: Can't find directory "/home/...the_deleted_worktree".

Sidenote: Harpoon also throws lots of errors, making it really impossible to do anything but shutdown and restart neovim.

A good solution could be to first open the parent dir of the worktree we just deleted.

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

No branches or pull requests

1 participant