A simple Telescope extension to manage Terminal buffers
- List and switch between all terminal buffers opened with
toggleterm.nvim
. - Kill terminal buffers easily with keybindings.
- Open buffer picker with
:Telescope toggleterm
orlua require('telescope-toggleterm').open()
telescope
plugin.nvim-toggleterm
plugin.
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,
}
require("telescope-toggleterm").setup {
telescope_mappings = {
-- <ctrl-c> : kill the terminal buffer (default) .
["<C-c>"] = require("telescope-toggleterm").actions.exit_terminal,
},
}
- Main Upstream Repo :
git.sr.ht
- Issue Reports and Feature Requests :
todo.sr.ht