💾 Archived View for gopher.zcrayfish.soy › 0 › irc › tmux.conf captured on 2023-12-28 at 15:57:41.
⬅️ Previous capture (2022-03-01)
-=-=-=-=-=-=-
#Enable the mousy mouse! set -g mouse on #Use 256 color terminal set -g default-terminal tmux-256color #Count windows from 1 set -g base-index 1 #Don't detach client when session is destroyed, switch to any other sessions set -g detach-on-destroy off # remap prefix to Control + a set -g prefix C-a set -g prefix2 C-b # bind 'C-a C-a' to type 'C-a' bind C-a send-prefix unbind C-b # bind 'C-a 0 to switch to window 10' bind -T prefix 0 select-window -t :=10 #hardstatus/titles on set -g set-titles on set -g set-titles-string "#S@#H #I:#W" #set -g set-titles-string "#S:#I:#W - \"#T\" #{session_alerts}" #DEFAULT SETTING # #S name of session # #I index of window # #W Name of window # #T Title of pane # #H Hostname #Status bar left set -g status-left "#S@#H " set -g status-left-length 20 set -g status-left-style bg=black,fg=white,dim #Status bar right #set -g status-right " %a %e/%m/%y %k:%M" set -g status-right " %a %e/%m/%y %H#[blink]:#[default]%M" set -g status-right-length 19 #set -g status-right-style bg=black,fg=white,dim #Status bar centre set -g status-justify centre set -g status-style "fg=green" set -g window-status-format '#[reverse,dim]#I#[noreverse,nodim]#W' set -g window-status-current-style "bg=magenta,fg=black" set -g window-status-current-format '#[reverse]#I#[noreverse]#W' #automatically try to rename windows to current command set -g automatic-rename on set -g automatic-rename-format "#{pane_current_command}" #Blink background windows when a bell happens set -g window-status-bell-style blink #set -g window-status-bell-bg green #set -g window-status-bell-fg black #Let us knew when a bell happens (for computers with no soundcard) #set -g visual-activity both #set -g visual-bell both #How long to display the status messages (including bell message) #set -g display-time 0 # bind 'C-a {F1-F24} to windows {1-24}' bind-key -T prefix S-F12 select-window -t :=24 bind-key -T prefix S-F11 select-window -t :=23 bind-key -T prefix S-F10 select-window -t :=22 bind-key -T prefix S-F9 select-window -t :=21 bind-key -T prefix S-F8 select-window -t :=20 bind-key -T prefix S-F7 select-window -t :=19 bind-key -T prefix S-F6 select-window -t :=18 bind-key -T prefix S-F5 select-window -t :=17 bind-key -T prefix S-F4 select-window -t :=16 bind-key -T prefix S-F3 select-window -t :=15 bind-key -T prefix S-F2 select-window -t :=14 bind-key -T prefix S-F1 select-window -t :=13 bind-key -T prefix F12 select-window -t :=12 bind-key -T prefix F11 select-window -t :=11 bind-key -T prefix F10 select-window -t :=10 bind-key -T prefix F9 select-window -t :=9 bind-key -T prefix F8 select-window -t :=8 bind-key -T prefix F7 select-window -t :=7 bind-key -T prefix F6 select-window -t :=6 bind-key -T prefix F5 select-window -t :=5 bind-key -T prefix F4 select-window -t :=4 bind-key -T prefix F3 select-window -t :=3 bind-key -T prefix F2 select-window -t :=2 bind-key -T prefix F1 select-window -t :=1