mirror of
https://github.com/zoriya/dotfiles.git
synced 2026-06-12 06:00:40 +00:00
Adding git related telescopes
This commit is contained in:
@@ -37,6 +37,12 @@ local wk = require("which-key")
|
|||||||
wk.register({
|
wk.register({
|
||||||
f = { "<cmd>Telescope find_files<cr>", "Find files", },
|
f = { "<cmd>Telescope find_files<cr>", "Find files", },
|
||||||
F = { "<cmd>Telescope live_grep theme=ivy<cr>", "Find Text" },
|
F = { "<cmd>Telescope live_grep theme=ivy<cr>", "Find Text" },
|
||||||
|
g = {
|
||||||
|
name = "Git",
|
||||||
|
s = { "<cmd>Telescope git_status<cr>", "Git status" },
|
||||||
|
b = { "<cmd>Telescope git_branches<cr>", "Checkout branch" },
|
||||||
|
c = { "<cmd>Telescope git_commits<cr>", "Checkout commit" },
|
||||||
|
},
|
||||||
}, {
|
}, {
|
||||||
prefix = "<leader>",
|
prefix = "<leader>",
|
||||||
})
|
})
|
||||||
|
|||||||
Reference in New Issue
Block a user