Improve diff highlights and add tab keybindings

This commit is contained in:
Fábio André Damas 2025-04-02 10:51:50 +01:00
parent 570f69e551
commit 60cc9e5ffe
3 changed files with 48 additions and 2 deletions

View file

@ -6,12 +6,15 @@ return {
["q"] = "<cmd>DiffviewClose<CR>",
},
file_panel = {
["<CR>"] = "<cmd>DiffviewOpenSelected<CR>",
-- ["<CR>"] = "<cmd>DiffviewOpenSelected<CR>",
["q"] = "<cmd>DiffviewClose<CR>",
},
file_history_panel = {
["q"] = "<cmd>DiffviewClose<CR>",
},
},
}
},
init = function()
vim.opt.fillchars:append { diff = "" }
end
}