✨ Features
- List and switch between all terminal buffers opened with
toggleterm.nvim
.
- Kill terminal buffers easily with keybindings.
- Open buffer picker with
:Telescope toggleterm
or lua require('telescope-toggleterm').open()
⚡ Requirements
🛠️ Installation
use {
"https://git.sr.ht/~havi/telescope-toggleterm.nvim",
event = "TermOpen",
requires = {
"akinsho/nvim-toggleterm.lua",
"nvim-telescope/telescope.nvim",
"nvim-lua/popup.nvim",
"nvim-lua/plenary.nvim",
},
config = function()
require("telescope").load_extension "toggleterm"
end,
}
⚙️ Configuration
require("telescope-toggleterm").setup {
telescope_mappings = {
-- <ctrl-c> : kill the terminal buffer (default) .
["<C-c>"] = require("telescope-toggleterm").actions.exit_terminal,
},
}
🗒️ Additional Info
