DEV Community

0 seconds of 5 minutes, 4 secondsVolume 90%
Press shift question mark to access a list of keyboard shortcuts
00:00
00:00
05:04
 
Waylon Walker
Waylon Walker

Posted on • Originally published at waylonwalker.com

5 1

fly through project with tmux sessions

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

Billboard image

The Next Generation Developer Platform

Coherence is the first Platform-as-a-Service you can control. Unlike "black-box" platforms that are opinionated about the infra you can deploy, Coherence is powered by CNC, the open-source IaC framework, which offers limitless customization.

Learn more

Top comments (1)

Collapse
 
gjorgivarelov profile image
gjorgivarelov • Edited

tmux is the tool that, had I learned to use it better than just the basics, would've carried me over the finish line on my failed RHCE exam.
Great explanation and demo! Thank you.

Sentry image

See why 4M developers consider Sentry, “not bad.”

Fixing code doesn’t have to be the worst part of your day. Learn how Sentry can help.

Learn more

👋 Kindness is contagious

Please leave a ❤️ or a friendly comment on this post if you found it helpful!

Okay