fix(sandwich): add diffview, and lazy install
Signed-off-by: Ryan <ryan@alien.gov>
This commit is contained in:
parent
686a1f43b8
commit
43219b32cb
@ -14,7 +14,11 @@ vim.opt.rtp:prepend(lazypath)
|
|||||||
local opts = {
|
local opts = {
|
||||||
dev = {
|
dev = {
|
||||||
path = "~/.local/src"
|
path = "~/.local/src"
|
||||||
}
|
},
|
||||||
|
install = {
|
||||||
|
-- try to load one of these colorschemes when starting an installation during startup
|
||||||
|
colorscheme = { "gruvbox-material", "habamax" },
|
||||||
|
},
|
||||||
}
|
}
|
||||||
|
|
||||||
local plugins = {
|
local plugins = {
|
||||||
@ -125,6 +129,7 @@ local plugins = {
|
|||||||
-- Code editing
|
-- Code editing
|
||||||
{
|
{
|
||||||
"machakann/vim-sandwich",
|
"machakann/vim-sandwich",
|
||||||
|
event = "ModeChanged",
|
||||||
keys = "s"
|
keys = "s"
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
@ -262,6 +267,10 @@ local plugins = {
|
|||||||
"seandewar/killersheep.nvim",
|
"seandewar/killersheep.nvim",
|
||||||
cmd = "KillKillKill"
|
cmd = "KillKillKill"
|
||||||
},
|
},
|
||||||
|
{
|
||||||
|
"sindrets/diffview.nvim",
|
||||||
|
event = "CmdlineEnter"
|
||||||
|
},
|
||||||
{
|
{
|
||||||
"NeogitOrg/neogit",
|
"NeogitOrg/neogit",
|
||||||
dependencies = {
|
dependencies = {
|
||||||
@ -282,12 +291,11 @@ local plugins = {
|
|||||||
local vscode_plugins = {
|
local vscode_plugins = {
|
||||||
{
|
{
|
||||||
"machakann/vim-sandwich",
|
"machakann/vim-sandwich",
|
||||||
event = "ModeChanged",
|
event = "BufEnter",
|
||||||
keys = "s"
|
keys = "s"
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"numToStr/Comment.nvim",
|
"numToStr/Comment.nvim",
|
||||||
event = "BufEnter",
|
|
||||||
config = function()
|
config = function()
|
||||||
require("Comment").setup()
|
require("Comment").setup()
|
||||||
end
|
end
|
||||||
|
Loading…
Reference in New Issue
Block a user