Add dotfile configuration session

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.
This commit is contained in:
Marty Oehme 2019-07-16 21:14:39 +02:00
parent f84b389730
commit 1fafcaadc4

View file

@ -0,0 +1,12 @@
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