danielpieper/telescope-tmuxinator.nvim

github github
split-and-windowtmux
stars 18
issues 0
subscribers 2
forks 1
CREATED

2021-01-30

UPDATED

3 months ago


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,
    },
  },
}