From 9f4081029ff05596a1e107638ffcfdd659822737 Mon Sep 17 00:00:00 2001 From: Price Hiller Date: Tue, 21 Feb 2023 09:13:35 -0600 Subject: [PATCH] feat(nvim): add mappings for diffview --- .../primary/config/lua/plugins/mappings.lua | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/dots/.nvim-environments/primary/config/lua/plugins/mappings.lua b/dots/.nvim-environments/primary/config/lua/plugins/mappings.lua index b7c36522..4feedef5 100755 --- a/dots/.nvim-environments/primary/config/lua/plugins/mappings.lua +++ b/dots/.nvim-environments/primary/config/lua/plugins/mappings.lua @@ -184,6 +184,10 @@ vim.keymap.set( { silent = true, desc = "Gitsigns: Unstage Hunk" } ) +-- Diffview Mappings +vim.keymap.set("n", "gd", "DiffviewOpen", { silent = true, desc = "Diff View: Open" }) +vim.keymap.set("n", "gh", "DiffviewFileHistory", { silent = true, desc = "Diff View: File History" }) + -- Hop Mappings local hop = require("hop")