From 0da34856440954702d4eb953eacaf440212077eb Mon Sep 17 00:00:00 2001 From: zymon Date: Mon, 17 Mar 2025 21:28:50 +0100 Subject: [PATCH] diffview show staged --- lua/znvim/plugins/git.lua | 1 + 1 file changed, 1 insertion(+) diff --git a/lua/znvim/plugins/git.lua b/lua/znvim/plugins/git.lua index 2874f3c..ddfff87 100644 --- a/lua/znvim/plugins/git.lua +++ b/lua/znvim/plugins/git.lua @@ -63,6 +63,7 @@ return { event = "BufReadPre", keys = { { "gdo", "DiffviewOpen", desc = "open diffview", }, + { "gds", "DiffviewOpen --staged", desc = "open diffview staged", }, { "gdf", "DiffviewFileHistory", desc = "open diffview", }, { "gdF", "DiffviewFileHistory %", desc = "open file", }, { "gdc", "DiffviewClose", desc = "close diffview", },