return { "caenrique/buffer-term.nvim", config = function() local buffer_term = require("buffer-term") buffer_term.setup() vim.keymap.set({ "n", "t" }, "", buffer_term.toggle_last) vim.keymap.set({ "n", "t" }, "0", function() buffer_term.toggle("0") end) vim.keymap.set({ "n", "t" }, "1", function() buffer_term.toggle("1") end) vim.keymap.set({ "n", "t" }, "2", function() buffer_term.toggle("2") end) vim.keymap.set({ "n", "t" }, "3", function() buffer_term.toggle("3") end) vim.keymap.set({ "n", "t" }, "4", function() buffer_term.toggle("4") end) vim.keymap.set({ "n", "t" }, "5", function() buffer_term.toggle("5") end) vim.keymap.set({ "n", "t" }, "6", function() buffer_term.toggle("6") end) vim.keymap.set({ "n", "t" }, "7", function() buffer_term.toggle("7") end) vim.keymap.set({ "n", "t" }, "8", function() buffer_term.toggle("8") end) vim.keymap.set({ "n", "t" }, "9", function() buffer_term.toggle("9") end) end, }