remove toggle term

This commit is contained in:
2024-01-02 20:35:26 -05:00
parent 629d780aaa
commit e669b3eb8e
2 changed files with 0 additions and 32 deletions

View File

@ -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

View File

@ -42,7 +42,6 @@ require('dep') {
{ 'windwp/nvim-autopairs' }, { 'windwp/nvim-autopairs' },
{ 'numToStr/Comment.nvim' }, { 'numToStr/Comment.nvim' },
{ 'ahmedkhalf/project.nvim' }, -- cd into root of project { 'ahmedkhalf/project.nvim' }, -- cd into root of project
{ 'akinsho/toggleterm.nvim' }, -- TODO: switch to tmux based popup terminal
{ 'mrjones2014/smart-splits.nvim'}, -- buffer resizing { 'mrjones2014/smart-splits.nvim'}, -- buffer resizing
-- note taking -------------------------------------------------------------- -- note taking --------------------------------------------------------------