# Change the prefix key to ^a -- like GNU Screen. set-option -g prefix C-a unbind-key C-b bind-key C-a send-prefix set-option -g status-bg colour74 set-option -g status-fg black #set-option -g status-bg blue #set-option -g status-fg cyan set -g default-shell /bin/zsh set -g default-path $HOME set -g lock-after-time 3600 set -g lock-command /usr/bin/vlock setw -g window-status-alert-attr blink set -g default-terminal "screen-256color" #set -g terminal-overrides "rxvt-unicode:dch=\E[%p1%dP:dch1=\E[P" source-file ~/screen-keys.conf unbind-key c unbind-key d unbind-key f unbind-key i unbind-key l unbind-key n unbind-key o unbind-key p unbind-key r unbind-key s unbind-key t unbind-key w unbind-key x unbind-key | unbind-key - unbind-key A unbind-key . unbind-key k unbind-key ^k unbind-key ^x bind c new-window bind d detach-client bind f command-prompt "find-window '%%'" bind i display-message bind a last-window bind n next-window bind o down-pane bind p previous-window bind r refresh-client bind s choose-session bind t clock-mode bind w choose-window bind k confirm-before kill-window bind x lock-client bind "|" split-window -v bind "-" split-window -h bind , command-prompt "rename-window '%%'" bind . display-panes bind ^c new-window bind ^d detach-client bind ^f command-prompt "find-window '%%'" bind ^i display-message bind ^a last-window bind ^n next-window bind ^o down-pane bind ^p previous-window bind ^r refresh-client bind ^s choose-session bind ^t clock-mode bind ^w choose-window bind ^k confirm-before kill-window bind ^x lock-client #bind ^"|" split-window -v #bind ^- split-window -h bind -n C-Left previous-window bind -n C-Right next-window # Status stuff. set -g status-left-fg black set -g status-left-bg green set -g status-left-length 30 set -g status-left "[#H] ([#S])" set -g status-right-length 30 set -g status-right "[%a %d/%m %H:%M]" setw -g mode-bg blue setw -g mode-fg yellow setw -g window-status-current-fg cyan setw -g window-status-current-bg magenta setw -g mode-mouse on setw -g mode-keys vi setw -g mode-fg white setw -g window-status-current-format "#[fg=black,bg=colour132]#I:#W#F#[fg=black,bg=colour74] |" setw -g window-status-format "#[fg=black,bg=colour74]#I:#W#F |" set-window-option -g clock-mode-colour green # Sessions new-session -d -swork -nirc 'exec ssh -t user@domain screen -RDS irssi' neww -d -nmail 'exec mutt' neww -d neww -d