diffview show staged
This commit is contained in:
parent
aa4eadeb61
commit
0da3485644
1 changed files with 1 additions and 0 deletions
|
@ -63,6 +63,7 @@ return {
|
|||
event = "BufReadPre",
|
||||
keys = {
|
||||
{ "<leader>gdo", "<CMD>DiffviewOpen<CR>", desc = "open diffview", },
|
||||
{ "<leader>gds", "<CMD>DiffviewOpen --staged<CR>", desc = "open diffview staged", },
|
||||
{ "<leader>gdf", "<CMD>DiffviewFileHistory<CR>", desc = "open diffview", },
|
||||
{ "<leader>gdF", "<CMD>DiffviewFileHistory %<CR>", desc = "open file", },
|
||||
{ "<leader>gdc", "<CMD>DiffviewClose<CR>", desc = "close diffview", },
|
||||
|
|
Loading…
Add table
Reference in a new issue