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:
parent
f84b389730
commit
1fafcaadc4
1 changed files with 12 additions and 0 deletions
12
.config/tmux/sessions/dot.session
Normal file
12
.config/tmux/sessions/dot.session
Normal 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
|
Loading…
Reference in a new issue