Skip to main content
  1. lab/

CLI tmux

·1 min
Table of Contents

created: 17/02/2019
updated: 09/03/2019

tmux and friends #

“automating tmux”

$ brew install tmux
$ gem install teamocil
$ echo "alias to='teamocil'" >> ~/.bashrc
$ mkdir ~/.teamocil
$ touch ~/.teamocil/lab.yml

lab.yml

name: osgav
windows:
  - name: lab
    root: ~/lab
    layout: main-vertical
    panes:
      - cat .lab_welcome; lst
      - pyenv
      - cd workbench; ls -l --time-style=long-iso --group-directories-first

other tmux / teamocil config

tmux: set -g mouse on

usage

tmux
to --list
to lab

cheatsheet

Ctrl-b c        create new window
Ctrl-b w        list windows
Ctrl-b s        list sessions

Ctrl-b z        maximize/restore panel
Ctrl-b %        split panel vertically
Ctrl-b "        split panel horizontally