From a8965658f16588e0bc6710481ce92c3387e30f23 Mon Sep 17 00:00:00 2001 From: Atao Date: Thu, 16 May 2024 10:52:15 +0200 Subject: [PATCH] Add vist.nvim and lazygit.nvim --- lua/custom/plugins.lua | 25 +++++++++++++++++++++++++ 1 file changed, 25 insertions(+) diff --git a/lua/custom/plugins.lua b/lua/custom/plugins.lua index 1adaed2..85fea78 100644 --- a/lua/custom/plugins.lua +++ b/lua/custom/plugins.lua @@ -44,6 +44,31 @@ local plugins = { cmd = { "MarkdownPreviewToggle", "MarkdownPreview", "MarkdownPreviewStop" }, ft = { "markdown" }, build = function() vim.fn["mkdp#util#install"]() end, + }, + -- Utility plugins + { + 'liuchengxu/vista.vim', + lazy = false, + }, + -- Git + { + "kdheepak/lazygit.nvim", + cmd = { + "LazyGit", + "LazyGitConfig", + "LazyGitCurrentFile", + "LazyGitFilter", + "LazyGitFilterCurrentFile", + }, + -- optional for floating window border decoration + dependencies = { + "nvim-lua/plenary.nvim", + }, + -- setting the keybinding for LazyGit with 'keys' is recommended in + -- order to load the plugin when the command is run for the first time + keys = { + { "lg", "LazyGit", desc = "LazyGit" } + } } } return plugins