Created
August 9, 2017 19:45
-
-
Save lukassup/843371e10db932cb15f24f38b84bbc35 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| # Use same prefix as GNU Screen | |
| unbind-key C-b | |
| set-option -g prefix C-a | |
| bind-key C-a send-prefix | |
| # Reload config file | |
| bind-key r source-file ~/.tmux.conf | |
| # Vi-like pane navigation | |
| bind-key h select-pane -L | |
| bind-key j select-pane -D | |
| bind-key k select-pane -U | |
| bind-key l select-pane -R | |
| # set-option -g assume-paste-time 1 | |
| set-option -g base-index 1 | |
| # set-option -g bell-action any | |
| # set-option -g bell-on-alert off | |
| # set-option -g default-command "" | |
| # set-option -g default-shell "/bin/zsh" | |
| # 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 escape-time 0 | |
| # 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 renumber-windows on | |
| set-option -g repeat-time 0 | |
| # set-option -g set-titles off | |
| # set-option -g set-titles-string "#S:#I:#W - \"#T\" #{session_alerts}" | |
| # set-option -g status on | |
| set-option -g status-interval 3 | |
| # set-option -g status-justify left | |
| set-option -g status-keys emacs | |
| # 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}\" %Y-%m-%d %H:%M" | |
| # set-option -g status-right-length 40 | |
| # set-option -g status-right-style default | |
| set-option -g status-style fg=brightblack,reverse,bg=default | |
| set-option -g visual-activity off | |
| set-option -g visual-bell off | |
| # set-option -g visual-silence off | |
| # set-option -g word-separators " -_@" | |
| set-option -g default-terminal tmux | |
| set-option -g update-environment "DBUS_SESSION_BUS_ADDRESS DESKTOP_SESSION DISPLAY GNOME_KEYRING_CONTROL GNOME_KEYRING_PID GPG_AGENT_INFO ORIGCOLORTERM ORIGTERM SESSION_MANAGER SSH_AGENT_PID SSH_AUTH_SOCK SSH_CONNECTION TERM WINDOWID XAUTHORITY XDG_SESSION_COOKIE XDG_SESSION_PATH" | |
| # determine if we should enable 256-colour support | |
| if-shell "[[ ${TERM} =~ 256color || ${TERM} == fbterm ]]" 'set-option -g default-terminal tmux-256color' | |
| # set-window-option -g aggressive-resize off | |
| # set-window-option -g allow-rename on | |
| # set-window-option -g alternate-screen on | |
| # set-window-option -g automatic-rename on | |
| # set-window-option -g automatic-rename-format "#{?pane_in_mode,[tmux],#{pane_current_command}}#{?pane_dead,[dead],}" | |
| # set-window-option -g clock-mode-colour blue | |
| # set-window-option -g clock-mode-style 24 | |
| # set-window-option -g force-height 0 | |
| # set-window-option -g force-width 0 | |
| # set-window-option -g main-pane-height 24 | |
| # set-window-option -g main-pane-width 80 | |
| set-window-option -g mode-keys vi | |
| # set-window-option -g mode-style fg=black,bg=yellow | |
| set-window-option -g monitor-activity on | |
| # set-window-option -g monitor-silence 0 | |
| # set-window-option -g other-pane-height 0 | |
| # set-window-option -g other-pane-width 0 | |
| set-window-option -g pane-active-border-style fg=brightcyan | |
| set-window-option -g pane-base-index 1 | |
| # set-window-option -g pane-border-format "#{?pane_active,#[reverse],}#{pane_index}#[default] \"#{pane_title}\"" | |
| # set-window-option -g pane-border-status off | |
| set-window-option -g pane-border-style fg=brightblack | |
| # set-window-option -g remain-on-exit off | |
| # set-window-option -g window-active-style default | |
| set-window-option -g window-status-activity-style fg=green,bold | |
| set-window-option -g window-status-bell-style fg=red,bold | |
| # set-window-option -g window-status-current-format "#I:#W#{?window_flags,#{window_flags}, }" | |
| set-window-option -g window-status-current-style fg=brightcyan,bold | |
| # set-window-option -g window-status-format "#I:#W#{?window_flags,#{window_flags}, }" | |
| # set-window-option -g window-status-last-style default | |
| # set-window-option -g window-status-separator " " | |
| # set-window-option -g window-status-style fg=default,bold | |
| # set-window-option -g window-style default | |
| # set-window-option -g wrap-search on | |
| # set-window-option -g xterm-keys on |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment