Tags
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
setting up a keybinding
bind C-g display-popup -E "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.
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
https://waylonwalker.com/symlink-gallery/
This post covers how I combine all my projects into a single directory.
Related Links
- default key bindings
- Chris Toomey's Tmux Course
- my ta script
- my .tmux.conf
https://waylonwalker.com/tmux-nav-2021/
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.