summaryrefslogtreecommitdiff
path: root/fnl
diff options
context:
space:
mode:
Diffstat (limited to 'fnl')
-rw-r--r--fnl/plugins/git-worktree.fnl8
1 files changed, 4 insertions, 4 deletions
diff --git a/fnl/plugins/git-worktree.fnl b/fnl/plugins/git-worktree.fnl
index 8812859..01ad549 100644
--- a/fnl/plugins/git-worktree.fnl
+++ b/fnl/plugins/git-worktree.fnl
@@ -1,11 +1,11 @@
;; Plugins for working with git-worktrees.
-(local keys [{1 :<leader>wn
- 2 "<cmd>lua require('telescope').extensions.git_worktree.git_worktrees()<cr>"
+(local keys [{1 :<leader>we
+ 2 "<cmd>Telescope git_worktree git_worktrees theme=dropdown<cr>"
:mode :n
:desc "Switch between worktrees"}
- {1 :<leader>we
- 2 "<cmd>lua require('telescope').extensions.git_worktree.create_git_worktree()<cr>"
+ {1 :<leader>wn
+ 2 "<cmd>Telescope git_worktree create_git_worktree theme=dropdown<cr>"
:mode :n
:desc "Create a worktree"}])