Marty Oehme
1fafcaadc4
Invoked with `tm dot.session`. Contains a git window watching the dotfiles status, diff, and a git log of recent commits. Contains a window with vim. Contains a third window to test out the resulting dot commands. Kept simple and clean.
12 lines
650 B
Text
12 lines
650 B
Text
rename-window dot-git
|
|
send-keys "watch -t -n 5 -c '/usr/bin/git --git-dir=/home/marty/.dotfiles/ --work-tree=/home/marty -c color.ui=always diff | tail -n $(($LINES - 2))'" C-m
|
|
split-window -h watch -t -n 5 -c '/usr/bin/git --git-dir=/home/marty/.dotfiles/ --work-tree=/home/marty -c color.ui=always status | sed "s/\x1b\[m/\x1b\[00m/"'
|
|
split-window -v
|
|
send-keys k C-m
|
|
select-pane -t 1
|
|
split-window -v watch -t -n 5 -c '/usr/bin/git --git-dir=/home/marty/.dotfiles/ --work-tree=/home/marty -c color.ui=always log --graph --date=short --decorate --oneline'
|
|
select-pane -t 4
|
|
new-window -n code
|
|
send-keys "vim" C-m
|
|
new-window -n test
|
|
select-window -t 1
|