From 85fd7692af3842bf9a835fede8744edafe923237 Mon Sep 17 00:00:00 2001 From: Suleyman Farajli Date: Thu, 28 Aug 2025 02:02:26 +0400 Subject: feat(nvim): remove toggleterm.nvim and add custom full-screen toggle terminal - Removed toggleterm.nvim plugin and all related configuration - Added custom full-screen terminal toggle with - Preserves session and closes on TermClose - Automatically enters insert mode when opened - Made netrw buffers read-only, unlisted, and buftype=nofile to prevent writing - Added autocmds to prevent accidental :w/:w! in netrw - Cleaned up indentation and autocmd formatting --- config/nvim/lua/plugins.lua | 15 --------------- 1 file changed, 15 deletions(-) (limited to 'config/nvim/lua/plugins.lua') diff --git a/config/nvim/lua/plugins.lua b/config/nvim/lua/plugins.lua index e2454a1..8b08e4b 100644 --- a/config/nvim/lua/plugins.lua +++ b/config/nvim/lua/plugins.lua @@ -19,14 +19,12 @@ vim.opt.rtp:prepend(lazypath) -- Setups require("lazy").setup({ spec = { - "akinsho/toggleterm.nvim", "numToStr/Comment.nvim", "windwp/nvim-autopairs", "EdenEast/nightfox.nvim", "nvim-orgmode/orgmode", "jubnzv/mdeval.nvim", }, - }) require("Comment").setup{ @@ -45,19 +43,6 @@ require("Comment").setup{ }, } -require("toggleterm").setup{ - size = 10, - open_mapping = [[]], - hide_numbers = true, - shade_terminals = true, - direction = "float", - float_opts = { - -- border = 'curved', - winblend = 0, --transparency - } - -} - require("nvim-autopairs").setup({ disable_filetype = { "TelescopePrompt", "spectre_panel", "neo-tree-popup", "conf"}, disable_in_macro = true, -- cgit v1.2.3