Last active
January 3, 2016 19:29
-
-
Save thescouser89/8508946 to your computer and use it in GitHub Desktop.
tmux.conf
This file contains 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
# keybindings to make resizing easier | |
bind -r C-h resize-pane -L | |
bind -r C-j resize-pane -D | |
bind -r C-k resize-pane -U | |
bind -r C-l resize-pane -R | |
# Set window notifications | |
setw -g monitor-activity on | |
set -g visual-activity on | |
# Automatically set window title | |
setw -g automatic-rename | |
set -g set-titles on | |
# renumber windows as some are closed | |
set-option -g renumber-windows on | |
# shell | |
set -g default-command /bin/bash | |
set -g default-shell /bin/bash | |
# start with window 1 (instead of 0) | |
set -g base-index 1 | |
# start with pane 1 | |
set -g pane-base-index 1 | |
# screen mode | |
set -g default-terminal "screen-256color" | |
# source config file | |
bind r source-file ~/.tmux.conf | |
# history | |
set -g history-limit 100000 | |
# allow terminal scrolling | |
set-option -g terminal-overrides 'xterm*:smcup@:rmcup@' | |
# copy mode | |
#unbind [ | |
#bind Escape copy-mode | |
#unbind ] | |
bind ] paste-buffer | |
setw -g utf8 on | |
# use mouse in copy mode | |
setw -g mode-mouse on | |
# splitting | |
unbind % | |
bind e split-window -h | |
unbind '"' | |
bind o split-window -v | |
# window switching with mouse | |
set -g mouse-select-window on | |
# tmux clock | |
set -g clock-mode-colour blue | |
# resize panes with mouse (drag borders) | |
set -g mouse-select-pane on | |
set -g mouse-resize-pane on | |
bind x kill-pane | |
#### COLOUR (Solarized 256) | |
# default statusbar colors | |
set-option -g status-bg colour235 #base02 | |
set-option -g status-fg colour136 #yellow | |
set-option -g status-attr default | |
# default window title colors | |
set-window-option -g window-status-fg colour244 #base0 | |
set-window-option -g window-status-bg default | |
set-window-option -g window-status-attr dim | |
# active window title colors | |
set-window-option -g window-status-current-fg colour166 #orange | |
set-window-option -g window-status-current-bg default | |
set-window-option -g window-status-current-attr bright | |
# pane border | |
set-option -g pane-border-fg colour235 #base02 | |
set-option -g pane-active-border-fg colour240 #base01 | |
# message text | |
set-option -g message-bg colour235 #base02 | |
set-option -g message-fg colour166 #orange | |
# pane number display | |
set-option -g display-panes-active-colour colour33 #blue | |
set-option -g display-panes-colour colour166 #orange | |
set-option -gw window-status-activity-attr bold | |
set-option -gw window-status-activity-bg colour235 | |
set-option -gw window-status-activity-fg white | |
set-option -gw window-status-bell-attr bold | |
set-option -gw window-status-bell-bg red | |
set-option -gw window-status-bell-fg yellow | |
# clock | |
set-window-option -g clock-mode-colour colour64 #green |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment