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
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
script will let you pass it a directory, and it will
give you a fuzzy popup.
setting up a keybinding
bind C-g display-popup -E "ta ~/git"
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.
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
This post covers how I combine all my projects into a single directory.
for more information on how I navigate tmux, check out this full post
Also check out the full YouTube tmux-playlist to see all of the videos in this series.