################################################################################ ## ~/.tmux.conf ## ┬─┐┌┌┐┬─┐┌─┐┐─┐ ┐─┐┌┐┐┐ ┬┬ ┬─┐ ## ├─ ││││─┤│ └─┐ └─┐ │ └┌┘│ ├─ ## ┴─┘┘ │┘ │└─┘──┘ ──┘ │ │ └─┘┴─┘ ####################### EMACS STYLE set -g mode-keys emacs set -g status-keys emacs ## ┬ ┌─┐┌─┐┬┌ ## │ │ ││ ├┴┐ ## └─┘┘─┘└─┘│ ┘ ########## LOCK set -g lock-command "vlock -a" ## ┬─┐o┌┐┐┬─┐┬┌ ┬─┐┐ ┬┐─┐ ## │─││││││ │├┴┐├─ └┌┘└─┐ ## ┴─┘│ └┘┴─┘│ ┘┴─┘ │ ──┘ ################ BINDKEYS unbind Space bind-key b lock-client bind-key o last-pane bind-key h select-pane -L bind-key u select-pane -U ## ┌─┐┬ o┬─┐┬─┐┌─┐┬─┐┬─┐┬─┐ ## │ │ ││─┘│─││ ││─┤│┬┘│ │ ## └─┘└─┘││ ┴─┘┘─┘┘ ││└┘┴─┘ ################## CLIPBOARD ## Requires prefix key before the command key # Copy tmux paste buffer to CLIPBOARD bind-key C-c run "tmux save-buffer - | xclip -i -selection clipboard" # Copy CLIPBOARD to tmux paste buffer and paste tmux paste buffer bind-key C-v run "tmux set-buffer -- \"$(xclip -o -selection clipboard)\"; tmux paste-buffer" ## ┌┐┐┬─┐┬─┐┌┌┐ ## │ ├─ │┬┘│││ ## │ ┴─┘│└┘┘ │ ########## TERM set -g default-terminal screen set -g visual-activity on ## ┐─┐┌┐┐┬─┐┌┐┐┬ ┐┐─┐┬─┐┬─┐┬─┐ ## └─┐ │ │─┤ │ │ │└─┐│─││─┤│┬┘ ## ──┘ │ ┘ │ │ └─┘──┘┴─┘┘ ││└┘ #################### STATUSBAR set -g status off set -g display-time 2000 set -g status-interval 5 set -g status-position top # clock color set -g clock-mode-colour white set -g clock-mode-style 12 # command/message line colors set-option -g message-style fg=black set-option -g message-style bg="#fcefba" # status window #set -g window-status-format "+" set -g window-status-format "#I" set -g window-status-current-format "×" set -g status-right 'session(s): #{session_group_attached} on #S@#h' set -g status-right-length 120 set -g status-left ": " set -g status-justify left ## ┐ ┬o┌┐┐┬─┐┌─┐┐ ┬┐─┐ ## ││││││││ ││ ││││└─┐ ## └┴┘│ └┘┴─┘┘─┘└┴┘──┘ ############## WINDOWS new -s f6k selectw -t 0 neww -n number7 -t 7 neww -n number8 -t 8 neww -n number9 -t 9