danielpieper/telescope-tmuxinator.nvim

github github
tmux plugin
star 6
stars
alert-circle 1
open issues
users 2
subscribers
git-branch 0
forks
CREATED

2021-01-30

UPDATED

3 months ago

packer

require('packer').startup(function()
  use 'danielpieper/telescope-tmuxinator.nvim'
end)

paq

require "paq" { 
  'danielpieper/telescope-tmuxinator.nvim'
}

telescope-tmuxinator.nvim

Integration for tmuxinator with telescope.nvim.

Requirements

Setup

You can setup the extension by doing

require('telescope').load_extension('tmuxinator')

Somewhere after your require('telescope').setup() call.

Available functions

require('telescope').extensions.tmuxinator.projects{}

As this extension does not support preview, using the dropdown is recommended:

require('telescope').extensions.tmuxinator.projects(require('telescope.themes').get_dropdown({}))

Mappings

Mappings Action
<CR> Select action
<C-x> Stop action

Configuration

See default configuration for full details on configuring Telescope.

  • select_action (default: switch)

    One of:

    • switch: Switch project
    • stop: Switch project and stop the current project
    • kill: Switch project and kill the current project Defaults to switch if unset.
  • stop_action (default: stop)

    One of:

    • stop: Stop the current project
    • kill: Kill the current project Defaults to stop if unset.
  • disable_icons (default: false)

    Do not use icons to indicate active sessions

Example Configuration:

telescope.setup {
  extensions = {
    tmuxinator = {
      select_action = 'switch', -- | 'stop' | 'kill'
      stop_action = 'stop', -- | 'kill'
      disable_icons = false,
    },
  },
}