Terminal in Neovim with telescope

작성자

카테고리:

← 피드로
DEV Community · LeafChage · 2026-08-30 개발(SW)

LeafChage

tt (Terminal with Telescope)

GitHub logo LeafChage / tt

a telescope extension for multiple terminals

managing terminal with telescope

demo.mp4

How to use

<div dir="auto" data-snippet-clipboard-copy-content="— lazy.nvim { "LeafChage/tt", dependencies = { {'nvim-telescope/telescope.nvim'}, }, config = function() require("tt").setup({ — — current | float | vertical | horizontal — layout: "current" — keys = { — n = { — open = "", — close = "", — }, — i = { — open = "", — close = "", — } — }, — float = { — width = 0.8, — height = 0.8, — border = "rounded", — } }) end, keys = { — { "ft", [[Telescope tt]], }, — open terminal picker } } — load extension local telescope = require(‘telescope’) telescope.load_extension("tt")”>
--- lazy.nvim
{
    "LeafChage/tt",
    dependencies = {
      {'nvim-telescope/telescope.nvim'},
    },
    config = function()
      require("tt").setup({
        -- --- current | float | vertical | horizontal
        -- layout: "current"
        -- keys = {
        --     n = {
        --         open = "<cr>",
        --         close = "<c-d>",
        --     },
        --     i = {
        --         open = "<cr>",
        --         close = "<c-d>",
        --     }
        -- },
        -- float = {
        --     width = 0.8,
        --     height = 0.8,
        --     border = "rounded",
        -- }
      })
    end,
    keys = {
      -- { "<leader>ft", [[<CMD>Telescope tt<CR>]], }, -- open terminal picker
    }
}

-- load extension
local telescope = require('telescope')
telescope.load_extension("tt")

Enter fullscreen mode Exit fullscreen mode

ToDo

  • buffer preview


I had used toggleterm before, but I wanted to use multiple session with telescope.

I made it.💡

This is my first challenge to make neovim plugin.

Please let me know if you have any question:)

원문에서 계속 ↗