2020-11-02 20:40:39 +00:00
|
|
|
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
|
2020-11-11 21:30:07 +00:00
|
|
|
send-keys 'nvim --cmd "set rtp+=$(pwd)" .' C-m I
|
2020-11-02 20:40:39 +00:00
|
|
|
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
|