From bf18ea54863540b5167e1a91942284e34390b2b1 Mon Sep 17 00:00:00 2001 From: William Carroll Date: Mon, 16 Jul 2018 18:30:51 -0400 Subject: [PATCH] Support default Tmux configurations After writing this, I have a sneaking suspiscion that I'm reinventing something like Tmuxinator. I guess this is just a poor man's Tmuxinator. For now, however, haven't had enough time to look into Tmuxinator as a viable alternative, so this will have to do for now. Furthermore, moved root-level tmux files to a subdir. --- tmux/default.tmux | 14 ++++++++++++++ tmux-256color-italic => tmux/tmux-256color-italic | 0 .../tmux-256color-italic.ti | 0 3 files changed, 14 insertions(+) create mode 100644 tmux/default.tmux rename tmux-256color-italic => tmux/tmux-256color-italic (100%) rename tmux-256color-italic.ti => tmux/tmux-256color-italic.ti (100%) diff --git a/tmux/default.tmux b/tmux/default.tmux new file mode 100644 index 000000000..69ad131ef --- /dev/null +++ b/tmux/default.tmux @@ -0,0 +1,14 @@ +# Simple script designed to be `source-file`'d from within Tmux. It will setup +# panes with common directories for work. + +# Dotfiles +new -s dotfiles -n main +send-keys 'cd ~/dotfiles' C-m + +# Meta +new -s meta -n main +send-keys 'cd ~/urbint/meta' C-m + +# Grid +new -s grid -n main +send-keys 'cd ~/urbint/grid' C-m diff --git a/tmux-256color-italic b/tmux/tmux-256color-italic similarity index 100% rename from tmux-256color-italic rename to tmux/tmux-256color-italic diff --git a/tmux-256color-italic.ti b/tmux/tmux-256color-italic.ti similarity index 100% rename from tmux-256color-italic.ti rename to tmux/tmux-256color-italic.ti