summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHampusM <hampus@hampusmat.com>2024-06-09 13:45:08 +0200
committerHampusM <hampus@hampusmat.com>2024-06-09 13:45:08 +0200
commite775b13c6ad8939033740d8ba5e95898905f9ad2 (patch)
tree6d9943185784d61f453706089afae179c976f589
parent81e0c447ff60c4d596269265afec5af5a6a48b05 (diff)
add binding for telescope git branches
-rw-r--r--lua/maps/find.lua7
1 files changed, 7 insertions, 0 deletions
diff --git a/lua/maps/find.lua b/lua/maps/find.lua
index b4daafb..e1071f5 100644
--- a/lua/maps/find.lua
+++ b/lua/maps/find.lua
@@ -21,6 +21,13 @@ vim.api.nvim_set_keymap(
vim.api.nvim_set_keymap(
"n",
+ "<leader>gb",
+ ":Telescope git_branches<CR>",
+ { silent = true, noremap = true }
+)
+
+vim.api.nvim_set_keymap(
+ "n",
"<leader>f",
":Telescope live_grep<CR>",
{ silent = true, noremap = true }