Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- # Make it use C-a, similar to screen..
- unbind C-b
- unbind l
- set -g prefix C-a
- bind-key C-a next-window
- bind-key C-d previous-window
- # Split windows
- unbind %
- unbind '"'
- bind - split-window -v
- bind _ split-window -v
- bind | split-window -h
- # Copy mode
- unbind [
- unbind ]
- bind Escape copy-mode
- bind p paste-buffer
- # Commands
- bind-key / command-prompt -p "man page: " "split-window 'exec man %%'"
- bind-key S command-prompt -p "ssh: " "new-window -n %1 'ssh %1'"
- # Titles {{{
- set-option -g set-titles on
- set -g set-titles-string "tmux:#I #W"
- set-window-option -g automatic-rename off
- # }}}
- # Options {{{
- set-option -g base-index 1
- set-option -g mouse-select-pane on
- set-option -g pane-active-border-fg black
- set-option -g pane-active-border-bg cyan
- set-option -g pane-border-fg white
- set-option -g pane-border-bg black
- set-option -g status-keys vi
- set-option -g history-limit 4097
- set-option -s escape-time 100
- setw -g mode-mouse on
- # }}}
- # Reload key
- bind r source-file ~/.tmux.conf
- set -g default-terminal "screen-256color"
- set -g history-limit 5000
- # Theme
- set -g status-justify left
- set -g status-bg black
- set -g status-fg cyan
- set -g status-left-length 30
- set -g visual-activity on
- setw -g window-status-current-fg white
- set -g status-left '#[fg=green](#S) '
- set -g status-right ''
- # Colors {{{
- set-window-option -g window-status-current-bg green
- set-window-option -g window-status-current-fg black
- set-window-option -g window-status-alert-fg black
- set-window-option -g window-status-alert-bg yellow
- # }}}
Add Comment
Please, Sign In to add comment