Skip to content

Instantly share code, notes, and snippets.

@ronanyeah
Created June 14, 2019 14:24
Show Gist options
  • Select an option

  • Save ronanyeah/a724e3df41eab0428feafce247aabcb4 to your computer and use it in GitHub Desktop.

Select an option

Save ronanyeah/a724e3df41eab0428feafce247aabcb4 to your computer and use it in GitHub Desktop.
Tmux pane setup
#!/bin/bash
# This creates one window with 3 panes (one vertical split, one horizontal split),
# and one window with 2 panes (one vertical split).
# -d = detached mode
tmux new-session -d
tmux split-window -h # vertical split
tmux split-window # horizontal split
tmux new-window
tmux split-window -h
tmux attach-session
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment