screen
~/.tmux.conf
Ctrl+b
Ctrl+a
Ctrl+s
set
-g
prefix
C-s
unbind
C-b
bind
C-s
send-prefix
set -g
base-index
1
set -g
escape-time
20
⬅️ | ⬇️ | ⬆️ | ➡️ |
H | J | K | L |
bind
h
select-pane
-L
bind j select-pane -D
bind k select-pane -U
bind l select-pane -R
bind -n M-h select-pane -L
bind -n M-j select-pane -D
bind -n M-k select-pane -U
bind -n M-l select-pane -R
set -g
status-bg
black
set -g
status-fg
white
set -g
status-left-length
20
set -g
status-right-length
20
set -g mouse on
if ! tmux has-session -t yancy; then
tmux new -s yancy -d
tmux new-window -t yancy:2
tmux split-window -t yancy:2 -v
tmux send-keys -t yancy:1 vim Enter
tmux send-keys -t yancy:2.0 \
morbo bin/yancy Enter
tmux send-keys -t yancy:2.1 \
export TEST_YANCY_EXAMPLES=1 Enter
tmux new-window -t yancy:3 \
postgres -D perl/Yancy/db/pg
tmux split-window -t yancy:3 \
mysqld --datadir=$HOME/db/mysql
fi
tmux attach -t yancy