My tmux configurations
set-option -g default-command "reattach-to-user-namespace -l zsh" | |
source /usr/local/lib/python2.7/site-packages/powerline/bindings/tmux/powerline.conf | |
#set-window-option -g automatic-rename off | |
## Screen like binding | |
unbind C-b | |
set -g prefix C-x | |
## Bigger history | |
set -g history-limit 10000 | |
set -g base-index 1 | |
set -g mode-mouse on | |
set -g mouse-resize-pane on | |
set -g mouse-select-pane on | |
set -g mouse-select-window on | |
# set-window-option -g mode-mouse on | |
set -g status-utf8 on | |
bind | split-window -h -c "#{pane_current_path}" | |
bind - split-window -v -c "#{pane_current_path}" | |
bind c new-window -c "#{pane_current_path}" | |
# Ring the bell if any background window rang a bell | |
set -g bell-action any | |
# Default termtype. If the rcfile sets $TERM, that overrides this value. | |
set -g default-terminal screen-256color |
# Bind key | |
unbind C-b | |
set -g prefix C-z | |
# Mouse! | |
setw -g mode-mouse on | |
set-option -g mouse-resize-pane on | |
set-option -g mouse-select-pane on | |
set-option -g mouse-select-window on | |
set-window-option -g mode-mouse on | |
# Change display colors | |
# set-window-option -g window-status-current-bg yellow | |
set -g pane-border-fg green | |
set -g pane-border-bg black | |
set -g pane-active-border-fg yellow | |
# set -g pane-active-border-bg yellow | |
setw -g window-status-current-fg white | |
setw -g window-status-current-bg red | |
setw -g window-status-current-attr bright | |
# Utf-8 | |
set -g status-utf8 on | |
# Split shortcuts | |
bind | split-window -h | |
bind - split-window -v |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment