From 9107a5ca4a33340f4423c20d706dbc46fd309ac3 Mon Sep 17 00:00:00 2001 From: Hektor Misplon Date: Mon, 2 Nov 2020 18:10:08 +0100 Subject: [PATCH] Add r5rs tmux (vim with repl) script --- .bin/r5rs | 11 +++++++++++ 1 file changed, 11 insertions(+) create mode 100755 .bin/r5rs diff --git a/.bin/r5rs b/.bin/r5rs new file mode 100755 index 0000000..cb374c1 --- /dev/null +++ b/.bin/r5rs @@ -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