Skip to content

A Tmux session manager, with preview, fuzzy finding, and MORE

Notifications You must be signed in to change notification settings

IamTheLime/tmux-sessionx

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

23 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Tmux SessionX

A fuzzy Tmux session manager with preview capabilities, deleting, renaming and more!

image

Prerequisits 🛠️

Install 💻

Add this to your .tmux.conf and run Ctrl-I for TPM to install the plugin.

set -g @plugin 'omerxx/tmux-sessionx'

Configure ⚙️

The default binding for this plugin is <prefix>+O You can change it by adding this line with your desired key:

# I recommend using `o` if not already in use, for least key strokes when launching
set -g @sessionx-bind '<mykey>'

C-x is customizeable as well, by default it indexes $HOME/.config, but this can be changed by adding this config line:

# e.g. set -g @sessionx-x-path '~/dotfiles'
set -g @sessionx-x-path '<some-path>'

Working with SessionX 👷

Launching the plugin pops up an fzf-tmux "popup" with fizzy search over existing session (-current session). If you insert a non-existing name and hit enter, a new session with that name will be created.

  • C-r will launch a read prompt to rename a session within the list
  • C-d will delete the selected session
  • C-w will reload the list with all the available windows and their preview
  • C-x will fuzzy read ~/.config or a configureable path of your choice (with @session-x-path)

WARNING ⚠️

This was only tested on one, macOs machine. It is also not designed to use outside Tmux and is tailored to fit my needs. That said, please feel free to open issues with bugs / additions you'd like to see.

Thanks ❤️

Inspired by these:

About

A Tmux session manager, with preview, fuzzy finding, and MORE

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Shell 100.0%