feat(nvim): add git worktree picker that follows open buffers

Adds a telescope picker over 'git worktree list --porcelain'. Selecting an
entry cds to that worktree and re-points every open buffer at the same
relative path there, keeping cursor position and refusing to clobber
unsaved work.

Signed-off-by: unkin-agent <unkin-agent@unkin.net>
This commit is contained in:
2026-09-05 11:19:42 +10:00
parent b5dee7e0f2
commit 05a642b7a9
5 changed files with 564 additions and 0 deletions
+1
View File
@@ -6,6 +6,7 @@ require('func.tabline')
require('func.popterm')
require('func.sessions')
require('func.findfile')
require('func.worktree')
-- vim.cmd [[
-- augroup lang_all