📁⚡tmux session workspace plugin for nvim. (ported from tmuxdir.nvim)
- You can manage tmux sessions and projects from nvim.
- A project directory is identified with a root marker in a set of base directories (e.g.,
~/repos/
). - Each project is mapped to a tmux session, so a tmux session acts as a workspace.
- You can have additional tmux sessions mapped to the same project if you want.
- telescope-tmuxdir requires telescope.nvim
- telescope-tmuxdir optionally uses fd
If you use vim-plug:
Plug 'nvim-lua/plenary.nvim'
Plug 'nvim-telescope/telescope.nvim'
Plug 'viniarck/telescope-tmuxdir.nvim'
You need to set base_dirs
and find_cmd
:
telescope.setup{
extensions = {
tmuxdir = {
base_dirs = {"~/repos"},
find_cmd = {"fd", "-HI", "^.git$", "-d", "2"},
}
}
}
:Telescope tmuxdir sessions
:Telescope tmuxdir dirs