diff options
author | Suleyman Farajli <suleyman@farajli.net> | 2025-08-28 02:02:26 +0400 |
---|---|---|
committer | Suleyman Farajli <suleyman@farajli.net> | 2025-08-28 02:02:26 +0400 |
commit | 85fd7692af3842bf9a835fede8744edafe923237 (patch) | |
tree | c950e86b474f4b5978832ca6c9a321a8a461143b /config/nvim/lua | |
parent | 733eb5dc93c81289ff1a1a73562903f9eeed3e13 (diff) |
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 <C-f>
- 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
Diffstat (limited to 'config/nvim/lua')
-rw-r--r-- | config/nvim/lua/plugins.lua | 15 |
1 files changed, 0 insertions, 15 deletions
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 = [[<c-f>]], - 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, |