From e669b3eb8e27069ed0c52ea269e3c27debb989b6 Mon Sep 17 00:00:00 2001 From: Squibid Date: Tue, 2 Jan 2024 20:35:26 -0500 Subject: remove toggle term --- after/plugin/toggleterm.lua | 31 ------------------------------- lua/conf/plugins.lua | 1 - 2 files changed, 32 deletions(-) delete mode 100644 after/plugin/toggleterm.lua diff --git a/after/plugin/toggleterm.lua b/after/plugin/toggleterm.lua deleted file mode 100644 index b69e8f6..0000000 --- a/after/plugin/toggleterm.lua +++ /dev/null @@ -1,31 +0,0 @@ -local status_ok, toggleterm = pcall(require, "toggleterm") -if not status_ok then - return -end - -toggleterm.setup { - shade_terminals = true, - float_opts = { - border = 'shadow', - }, - on_open = function() - vim.opt.cmdheight = 0 - end, - on_close = function() - vim.opt.cmdheight = 1 - end -} - -local term = require('toggleterm.terminal').Terminal -local glow = term:new({ - cmd = "glow", - hidden = true, - direction = "float", - float_opts = { - border = "shadow", - width = 120, - height = 50, - } -}) - -function _glow() glow:toggle() end diff --git a/lua/conf/plugins.lua b/lua/conf/plugins.lua index c5786a5..45b1433 100644 --- a/lua/conf/plugins.lua +++ b/lua/conf/plugins.lua @@ -42,7 +42,6 @@ require('dep') { { 'windwp/nvim-autopairs' }, { 'numToStr/Comment.nvim' }, { 'ahmedkhalf/project.nvim' }, -- cd into root of project - { 'akinsho/toggleterm.nvim' }, -- TODO: switch to tmux based popup terminal { 'mrjones2014/smart-splits.nvim'}, -- buffer resizing -- note taking -------------------------------------------------------------- -- cgit v1.2.1