mirror of
https://github.com/LunarVim/LunarVim.git
synced 2025-07-21 19:24:25 +02:00
Replace LazyGit Plugin with FTerm Instance (#717)
* Replace LazyGit Plugin with FTerm Instance * Added gg keybind to FTerm LazyGit * Added check to see if lazygit is installed * Changed lazyload event to prevent error when called from dashboard on startup * Removed lazygit plugin. Changed Fterm lazy loading * Made the executable check more universal for when we include other terminal applications Co-authored-by: rebuilt <memoryman51@hotmail.com>
This commit is contained in:
parent
68bfac0468
commit
f6e377fcfe
4 changed files with 47 additions and 15 deletions
|
@ -217,12 +217,9 @@ return require("packer").startup(function(use)
|
|||
-- Floating terminal
|
||||
use {
|
||||
"numToStr/FTerm.nvim",
|
||||
event = "BufRead",
|
||||
event = "BufWinEnter",
|
||||
config = function()
|
||||
require("FTerm").setup {
|
||||
dimensions = { height = 0.8, width = 0.8, x = 0.5, y = 0.5 },
|
||||
border = "single", -- or 'double'
|
||||
}
|
||||
require('lv-floatterm').config()
|
||||
end,
|
||||
disable = not O.plugin.floatterm.active,
|
||||
}
|
||||
|
@ -249,13 +246,6 @@ return require("packer").startup(function(use)
|
|||
disable = not O.plugin.sanegx.active,
|
||||
}
|
||||
|
||||
-- Lazygit
|
||||
use {
|
||||
"kdheepak/lazygit.nvim",
|
||||
cmd = "LazyGit",
|
||||
disable = not O.plugin.lazygit.active,
|
||||
}
|
||||
|
||||
-- Diffview
|
||||
use {
|
||||
"sindrets/diffview.nvim",
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue