diff options
author | Gustaf Rydholm <gustaf.rydholm@gmail.com> | 2024-03-25 20:37:00 +0100 |
---|---|---|
committer | Gustaf Rydholm <gustaf.rydholm@gmail.com> | 2024-03-25 20:37:00 +0100 |
commit | 92de6038b22eab3244ab5e612b9735dfb66af2a5 (patch) | |
tree | 40a5b02966c1a48b9ec336c62a5dab22e5068df3 /fnl/plugins | |
parent | 3986ab171ff3e784932a87840e7e8463774f5b19 (diff) |
Update git worktree keymaps
Diffstat (limited to 'fnl/plugins')
-rw-r--r-- | fnl/plugins/git-worktree.fnl | 8 |
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"}]) |