DEV Community

loading...
Play Button Pause Button

fly through project with tmux sessions

Waylon Walker
Data Engineering with python, kedro super user.
Originally published at waylonwalker.com ・2 min read

Now your creating, jumping, and killing sessions like a boss. You are slicing through projects with ease, let me show you one more thing that can be the cream on top of this silky smooth setup we have been working towards.

Chris Toomey's Tmux Course

This script is simply my fork of Chris Toomey's tat script straight out of his course. It helps us create or jump to project specific sessions with ease.

a directory of projects

My version of the ta script will let you pass it a directory, and it will give you a fuzzy popup.

ta ~/git
Enter fullscreen mode Exit fullscreen mode

setting up a keybinding

bind C-g display-popup -E "ta ~/git"
Enter fullscreen mode Exit fullscreen mode

ta-git

default layout

By default I have my projects open with a vertical split, vim is on top, with my file finder open and the lower split is set to just my terminal. This is what I do 90% of the time that I open a project anyways.

ta-git-layout

More projects

I also have a directory setup that is a symlink-gallery of all of my projects, both private and public. This makes it easy to have one key that lets me see all of my projects.

rm -rf ~/projects
mkdir ~/projects
ln -sf ~/work/* ~/projects
ln -sf ~/git/* ~/projects
Enter fullscreen mode Exit fullscreen mode


article cover for <br>
 Create a Virtual File Gallery with Symlinks<br>

☝️This post covers how I combine all my projects into a single directory.

Related Links

Be sure to check out the full YouTube playlist and subscribe if you like it.

tmux playlist on youtub

Discussion (0)