Skip to content

Instantly share code, notes, and snippets.

View myfin.tmux.bash
#create new session and then detach from it
tmux -2 new-session -d -s $SESSION
#create a new window called ace
tmux new-window -t $SESSION:1 -n 'ace'
#split the ace window first vertically
View gist:f60a44d12c04a817f0fda33f97cf8e86
#I can use Super+B becuase Iterm 2 remaps it to hexcode 0x02 which means C-b (ctrl-b)
set -g prefix C-b
#Set the status bar to blue background and black forground
set -g status-bg blue
set -g status-fg black
#Set toggle synchronize-panes to comand-b y (example for linking comands to keybindings)
bind-key y set-window-option synchronize-panes
You can’t perform that action at this time.