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", },