summaryrefslogtreecommitdiff
path: root/fnl/plugins/editor/git-worktree.fnl
blob: ec57195ccbe0fa44ffbd10ad69839f20709ae2cc (plain)
1
2
3
4
5
6
7
8
9
10
11
12
;; Plugins for working with git-worktrees.

(local keys [{1 :<leader>ge
              2 "<cmd>lua require('telescope').extensions.git_worktree.git_worktrees()<cr>"
              :mode :n
              :desc "Switch between worktrees"}
             {1 :<leader>gi
              2 "<cmd>lua require('telescope').extensions.git_worktree.create_git_worktree()<cr>"
              :mode :n
              :desc "Create a worktree"}])

{1 :ThePrimeagen/git-worktree.nvim : keys}