Add tmux session setup
This commit is contained in:
parent
59574a17e9
commit
572ed6726b
1 changed files with 17 additions and 0 deletions
17
.tmux.session
Normal file
17
.tmux.session
Normal file
|
@ -0,0 +1,17 @@
|
|||
rename-window git
|
||||
send-keys "watch -t -n 1 -c 'git -c color.ui=always diff | tail -n $(($LINES - 2))'" C-m
|
||||
split-window -h watch -t -n 1 -c 'git -c color.ui=always status | sed "s/\x1b\[m/\x1b\[00m/"'
|
||||
split-window -v
|
||||
send-keys "clear" C-m L C-m
|
||||
select-pane -t 1
|
||||
split-window -v watch -t -n 1 -c '[ $(git diff --staged | wc -l) -eq 0 ] && git -c color.ui=always log --graph --date=short --decorate --oneline --all --remotes || git -c color.ui=always diff --staged | tail -n $(($LINES - 2))'
|
||||
select-pane -t 4
|
||||
new-window -n code
|
||||
send-keys "v ." C-m I
|
||||
split-window -v -l 10%
|
||||
send-keys "find . -type f -name '*.lua' | entr -c busted51 --exclude-tags='skip' --suppress-pending -C lua ." C-m
|
||||
split-window -h
|
||||
send-keys "find . -type f -name '*.lua' | xargs lua-format -i"
|
||||
new-window -n test
|
||||
send-keys "find . -type f -name '*.lua' | entr -c busted51 --exclude-tags='skip' -C lua ." C-m
|
||||
select-window -t 1
|
Loading…
Reference in a new issue