Skip to content

An extension for telescope.nvim that allows you to manage Terminal buffers created with toggleterm.nvim plugin. Mirrored from Sourcehut.

License

Notifications You must be signed in to change notification settings

da-moon/telescope-toggleterm.nvim

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

13 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

telescope-toggleterm

A simple Telescope extension to manage Terminal buffers

✨ 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

Lua

About

An extension for telescope.nvim that allows you to manage Terminal buffers created with toggleterm.nvim plugin. Mirrored from Sourcehut.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published