Fix broken diffview visual mode mapping (again)

This commit is contained in:
Tyler Hallada 2024-05-20 23:13:12 -04:00
parent d8142f5d6a
commit 9276359397

View File

@ -16,7 +16,7 @@ return {
},
},
keys = {
{ "<leader>gl", "<cmd>'<,'>DiffviewFileHistory<cr>", mode = "v", desc = "Toggle git log of selected lines" },
{ "<leader>gl", ":'<,'>DiffviewFileHistory<cr>", mode = "v", desc = "Toggle git log of selected lines" },
{ "<leader>gL", "<cmd>DiffviewFileHistory<cr>", desc = "Toggle git log of current branch" },
{ "<leader>gl", "<cmd>DiffviewFileHistory %<cr>", desc = "Toggle git log of current file history" },
{ "<leader>gd", "<cmd>DiffviewOpen<cr>", desc = "Git diff current file against the index" },