A simple Telescope extension to manage Terminal buffers
toggleterm.nvim
.:Telescope toggleterm
or lua 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,
},
}
git.sr.ht
todo.sr.ht