ref(tmux): centralize main pane
This commit is contained in:
parent
3641c722a2
commit
b6d0f27455
@ -11,7 +11,7 @@ if ! tmux has-session -t "$SESSION"; then
|
|||||||
tmux new-session -s "$SESSION" -d -n "$MAINW" -c "$WORKING_PROJECT"
|
tmux new-session -s "$SESSION" -d -n "$MAINW" -c "$WORKING_PROJECT"
|
||||||
tmux send-keys -t "$SESSION:$MAINW" '$EDITOR' Enter
|
tmux send-keys -t "$SESSION:$MAINW" '$EDITOR' Enter
|
||||||
tmux send-keys -t "$SESSION:$MAINW" , f f
|
tmux send-keys -t "$SESSION:$MAINW" , f f
|
||||||
tmux splitw -t "$SESSION:$MAINW" -d -h -l 40% -c '#{pane_current_path}'
|
tmux splitw -t "$SESSION:$MAINW" -d -b -h -l 30% -c '#{pane_current_path}'
|
||||||
fi
|
fi
|
||||||
|
|
||||||
tmux switch-client -t "$SESSION"
|
tmux switch-client -t "$SESSION"
|
||||||
Loading…
x
Reference in New Issue
Block a user