From cabbfb833352277b1df38e6360dfc519ca40b1af Mon Sep 17 00:00:00 2001 From: long-crypto <175532236+long-crypto@users.noreply.github.com> Date: Mon, 22 Jul 2024 02:27:02 +0000 Subject: [PATCH] remove toggleterm, :terminal is enough --- init.lua | 24 ------------------------ 1 file changed, 24 deletions(-) diff --git a/init.lua b/init.lua index 851f45a1..d1bbbc20 100644 --- a/init.lua +++ b/init.lua @@ -886,30 +886,6 @@ require('lazy').setup({ end, }, - { - 'akinsho/toggleterm.nvim', - config = function() - require('toggleterm').setup { - size = 20, - open_mapping = [[]], - direction = 'float', - float_opts = { - border = 'curved', - }, - } - - function _G.set_terminal_keymaps() - local opts = { buffer = 0 } - vim.keymap.set('t', 'jk', [[]], opts) - end - - -- if you only want these mappings for toggle term use term://*toggleterm#* instead - vim.cmd 'autocmd! TermOpen term://* lua set_terminal_keymaps()' - end, - keys = [[]], - cmd = 'ToggleTerm', - }, - -- The following two comments only work if you have downloaded the kickstart repo, not just copy pasted the -- init.lua. If you want these files, they are in the repository, so you can just download them and -- place them in the correct locations.