This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
SESSION='MyFin' | |
#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 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#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 |