diff --git a/lua/lazy-plugins.lua b/lua/lazy-plugins.lua index d9b5cb4..6259325 100644 --- a/lua/lazy-plugins.lua +++ b/lua/lazy-plugins.lua @@ -14,7 +14,11 @@ vim.opt.rtp:prepend(lazypath) local opts = { dev = { path = "~/.local/src" - } + }, + install = { + -- try to load one of these colorschemes when starting an installation during startup + colorscheme = { "gruvbox-material", "habamax" }, + }, } local plugins = { @@ -125,6 +129,7 @@ local plugins = { -- Code editing { "machakann/vim-sandwich", + event = "ModeChanged", keys = "s" }, { @@ -262,6 +267,10 @@ local plugins = { "seandewar/killersheep.nvim", cmd = "KillKillKill" }, + { + "sindrets/diffview.nvim", + event = "CmdlineEnter" + }, { "NeogitOrg/neogit", dependencies = { @@ -282,12 +291,11 @@ local plugins = { local vscode_plugins = { { "machakann/vim-sandwich", - event = "ModeChanged", + event = "BufEnter", keys = "s" }, { "numToStr/Comment.nvim", - event = "BufEnter", config = function() require("Comment").setup() end