Posted on :: Tags: , , , , ,

We’re using Graphite at work. Today, I configured a tmux shortcut to open a new pane and run gt create, which creates a new branch and commits all staged Git files.

bind-key -n S-F12 split-window -h -c "#{pane_current_path}" "gt c"

I just hit Shift-F12, and it opens a new pane in the current directory and runs the command.