feat(nvim): add mappings for diffview
This commit is contained in:
parent
7d9ef08a85
commit
9f4081029f
@ -184,6 +184,10 @@ vim.keymap.set(
|
|||||||
{ silent = true, desc = "Gitsigns: Unstage Hunk" }
|
{ silent = true, desc = "Gitsigns: Unstage Hunk" }
|
||||||
)
|
)
|
||||||
|
|
||||||
|
-- Diffview Mappings
|
||||||
|
vim.keymap.set("n", "<leader>gd", "<cmd>DiffviewOpen<CR>", { silent = true, desc = "Diff View: Open" })
|
||||||
|
vim.keymap.set("n", "<leader>gh", "<cmd>DiffviewFileHistory<CR>", { silent = true, desc = "Diff View: File History" })
|
||||||
|
|
||||||
-- Hop Mappings
|
-- Hop Mappings
|
||||||
local hop = require("hop")
|
local hop = require("hop")
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user