Add r5rs tmux (vim with repl) script

master
Hektor Misplon 2020-11-02 18:10:08 +01:00
parent ecc4e5b42f
commit 9107a5ca4a
1 changed files with 11 additions and 0 deletions

11
.bin/r5rs Executable file
View File

@ -0,0 +1,11 @@
#!/usr/bin/env bash
session="r5rs"
tmux attach-session -t $session || tmux new-session -s $session \; \
split-window -h -t $session \; \
send-keys -t 0 "vim" C-m \; \
send-keys -t 1 "plt-r5rs --no-prim" C-m \; \
resize-pane -t 1 -x 100 \; \
resize-pane -t 0 -x 125 \; \
select-pane -t 0