# this is myos's tmux configuration ! bind r source-file ~/.tmux.conf\; display-message "tmux.conf reloaded!" bind R move-window -r bind C-s source ~/.tmux/myos/session bind C-n switch-client -n\; refresh-client -S bind C-p switch-client -p\; refresh-client -S bind Escape copy-mode bind Y run "tmux save-buffer - |xsel -i" bind P run "xsel -o |tmux load-buffer -; tmux paste-buffer" bind C-c run "tmux save-buffer - | xclip -i -sel clipboard >/dev/null" bind C-v run "tmux set-buffer \"$(xclip -o -sel clipboard)\"; tmux paste-buffer" bind -n S-down new-window bind -n S-left prev bind -n S-right next bind -n C-left swap-window -t -1 bind -n C-right swap-window -t +1 set -g aggressive-resize on set -g status-keys vi set -g mode-keys vi set -g monitor-activity on set -g visual-activity on set -g allow-rename on set -g default-terminal "screen" set -g history-limit 4242 set -g status-bg black set -g status-fg white set -g status-interval 60 set -g status-left-length 30 set -g status-left '<#[fg=green]#S#[default]> ' set -g status-right '#[fg=yellow] %d/%m %H:%M#[default]' set -g update-environment "SSH_ASKPASS SSH_AUTH_SOCK SSH_CONNECTION"