forked from ThePrimeagen/git-worktree.nvim
-
-
Notifications
You must be signed in to change notification settings - Fork 17
Sync global marks #2
Copy link
Copy link
Open
Labels
enhancementNew feature or requestNew feature or requestneeds-triageNeeds maintainer evaluationNeeds maintainer evaluation
Metadata
Metadata
Assignees
Labels
enhancementNew feature or requestNew feature or requestneeds-triageNeeds maintainer evaluationNeeds maintainer evaluation
I was thinking of implementing this in a hook in my own config, but maybe it's relevant for core functionality:
Global marks will point to the file in the branch you're in, so if you switch worktree, then your global mark will be useless essentially.
I was thinking of just storing the marks with the worktree, and updating the marks when worktree switches.