Change dashboard git shortcut to use Diffview
This commit is contained in:
parent
e9dbe3e282
commit
e3085b4aaf
|
@ -24,9 +24,9 @@ return {
|
||||||
{
|
{
|
||||||
icon = " ",
|
icon = " ",
|
||||||
icon_hl = "@variable",
|
icon_hl = "@variable",
|
||||||
desc = "Git",
|
desc = "Git DiffView",
|
||||||
group = "Label",
|
group = "Label",
|
||||||
action = "Git",
|
action = "DiffviewOpen",
|
||||||
key = "g",
|
key = "g",
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
return {
|
return {
|
||||||
"glepnir/dashboard-nvim",
|
"glepnir/dashboard-nvim",
|
||||||
-- event = "VimEnter",
|
event = "VimEnter",
|
||||||
cmd = "Dashboard",
|
cmd = "Dashboard",
|
||||||
dependencies = { "nvim-tree/nvim-web-devicons" },
|
dependencies = { "nvim-tree/nvim-web-devicons" },
|
||||||
config = function() require("dashboard").setup(require "config.dashboard") end,
|
config = function() require("dashboard").setup(require "config.dashboard") end,
|
||||||
|
|
|
@ -11,6 +11,6 @@ return {
|
||||||
},
|
},
|
||||||
config = function()
|
config = function()
|
||||||
require("nvim-treesitter.configs").setup(require "config.treesitter")
|
require("nvim-treesitter.configs").setup(require "config.treesitter")
|
||||||
vim.cmd "TSUpdate"
|
-- vim.cmd "TSUpdate"
|
||||||
end,
|
end,
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue