diff --git a/Arch/.tmux.conf b/Arch/.tmux.conf new file mode 100644 index 0000000..d2abde3 --- /dev/null +++ b/Arch/.tmux.conf @@ -0,0 +1,66 @@ +set-option -g activity-action other +set-option -g assume-paste-time 1 +set-option -g base-index 0 +set-option -g bell-action any +set-option -g default-command "" +set-option -g default-shell "/bin/bash" +set-option -g destroy-unattached off +set-option -g detach-on-destroy on +set-option -g display-panes-active-colour red +set-option -g display-panes-colour blue +set-option -g display-panes-time 1000 +set-option -g display-time 750 +set-option -g history-limit 2000 +set-option -g key-table "root" +set-option -g lock-after-time 0 +set-option -g lock-command "lock -np" +set-option -g message-command-style fg=yellow,bg=black +set-option -g message-style fg=black,bg=yellow +set-option -g mouse off +set-option -g prefix C-b +set-option -g prefix2 None +set-option -g renumber-windows off +set-option -g repeat-time 500 +set-option -g set-titles off +set-option -g set-titles-string "#S:#I:#W - \"#T\" #{session_alerts}" +set-option -g silence-action other +set-option -g status on +set-option -g status-interval 15 +set-option -g status-justify left +set-option -g status-keys vi +set-option -g status-left "[#S] " +set-option -g status-left-length 10 +set-option -g status-left-style default +set-option -g status-position bottom +set-option -g status-right " \"#{=21:pane_title}\" %H:%M %d-%b-%y" +set-option -g status-right-length 40 +set-option -g status-right-style default +set-option -g status-style fg=black,bg=green +set-option -g update-environment[0] "DISPLAY" +set-option -g update-environment[1] "SSH_ASKPASS" +set-option -g update-environment[2] "SSH_AUTH_SOCK" +set-option -g update-environment[3] "SSH_AGENT_PID" +set-option -g update-environment[4] "SSH_CONNECTION" +set-option -g update-environment[5] "WINDOWID" +set-option -g update-environment[6] "XAUTHORITY" +set-option -g visual-activity off +set-option -g visual-bell off +set-option -g visual-silence off +set-option -g word-separators " -_@" + +# Set prefix to Ctrl-Space + unbind C-b + set -g prefix C-Space + bind Space send-prefix + +# split panes using | and - + bind | split-window -h + bind - split-window -v + unbind '"' + unbind % + +# switch panes using Alt-arrow without prefix + bind -n M-Left select-pane -L + bind -n M-Right select-pane -R + bind -n M-Up select-pane -U + bind -n M-Down select-pane -D