diff options
author | Jonathan Raines <[email protected]> | 2021-07-06 12:40:10 -0500 |
---|---|---|
committer | GitHub <[email protected]> | 2021-07-06 13:40:10 -0400 |
commit | f6e377fcfed932b71456a0b0780c1f5ed22cabd4 (patch) | |
tree | 4cd23a795a3e79782f947f4f36fe7cbe8fd7ac27 /lua/plugins.lua | |
parent | 68bfac0468ea4d5d7faf5bede0a4ab8cb5572f0c (diff) |
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 <[email protected]>
Diffstat (limited to 'lua/plugins.lua')
-rw-r--r-- | lua/plugins.lua | 14 |
1 files changed, 2 insertions, 12 deletions
diff --git a/lua/plugins.lua b/lua/plugins.lua index 69542b94..50f96517 100644 --- a/lua/plugins.lua +++ b/lua/plugins.lua @@ -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", |