Last active
December 23, 2015 08:49
-
-
Save gumayunov/6610060 to your computer and use it in GitHub Desktop.
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
set -g default-command "exec /bin/zsh -l" | |
set -g bell-action none | |
set -g history-limit 10000 | |
set -g base-index 1 | |
set -g default-terminal "screen-256color" | |
#setw -u automatic-rename | |
set -g status-keys vi | |
setw -g mode-keys vi | |
# screen capability | |
#source-file /usr/share/doc/tmux/examples/screen-keys.conf | |
# Set the prefix to ^A. | |
unbind C-b | |
set -g prefix ^A | |
bind a send-prefix | |
# screen ^C c | |
unbind ^C | |
bind ^C new-window | |
bind c new-window | |
# detach ^D d | |
unbind ^D | |
bind ^D detach | |
# title A | |
unbind A | |
bind A command-prompt "rename-window %%" | |
# kill K k | |
unbind K | |
bind K confirm-before "kill-window" | |
unbind k | |
bind k confirm-before "kill-pane" | |
unbind ^K | |
bind ^K confirm-before "kill-session" | |
bind S split-window -v | |
bind - split-window -v | |
bind | split-window -h | |
bind tab select-pane -t :.+ | |
bind escape copy-mode -u | |
# Enable mouse support (works in iTerm) | |
set-window-option -g mode-mouse on | |
set-option -g mouse-select-pane on | |
set-option -g mouse-resize-pane on | |
set-option -g mouse-select-window on | |
#### COLOUR (Solarized light) | |
# default statusbar colors | |
set-option -g status-bg white #base2 | |
set-option -g status-fg yellow #yellow | |
set-option -g status-attr default | |
# default window title colors | |
set-window-option -g window-status-fg brightyellow #base00 | |
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 brightred #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 white #base2 | |
set-option -g pane-active-border-fg brightcyan #base1 | |
# message text | |
set-option -g message-bg white #base2 | |
set-option -g message-fg brightred #orange | |
# pane number display | |
set-option -g display-panes-active-colour blue #blue | |
set-option -g display-panes-colour brightred #orange | |
# clock | |
set-window-option -g clock-mode-colour green #green |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment