Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- # Change the prefix key to C-a
- set -g prefix C-a
- unbind C-b
- bind C-a send-prefix
- # split panes using | and -
- bind | split-window -h
- bind - split-window -v
- unbind '"'
- unbind %
- # reload config file (change file location to your the tmux.conf you want to use)
- # use CTRL + A : source-file ~/.tmux.conf
- # bind S source-file ~/.tmux.conf \; \
- # display-message "source-file done"
- # switch panes using Alt-arrow without prefix
- bind-key -n M-Left previous-window
- bind-key -n M-Right next-window
- set-option -g default-terminal screen-256color
- set -g terminal-overrides "*rxvt*:smcup@:rmcup@"
- # enable/disable mouse support
- # set-option -g -q mouse on
- set-option -g -q mouse off
- # enable xterm keys
- set -g xterm-keys on
- # Some tweaks to the status line
- set -g status-bg cyan
- #set -g window-status-current-attr "underscore"
- set -g window-status-current-attr "bright"
- set-window-option -g status-left " #S ::: "
- set-window-option -g status-left-fg black
- set-window-option -g status-left-bg white
- set-window-option -g status-right " %H:%M ::: %d %B "
- set-window-option -g status-right-fg black
- set-window-option -g status-right-bg white
- set-window-option -g window-status-format " #I: #W "
- #set-window-option -g window-status-format '#[bg=black]#[fg=black,bold] #I #[bg=default] #[fg=black]#W '
- set-window-option -g window-status-current-format " #I: #W "
- #set-window-option -g window-status-current-format '#[fg=white]#[bg=cyan] #I #[fg=cyan]#[bg=default] #W '
- set-window-option -g window-status-current-fg yellow
- set-window-option -g window-status-current-bg black
- ###
- # Status bar
- # set -g status-position bottom
- # set -g status-interval 4
- # set -g status-left ''
- # set -g status-right ''
- # set -g status-justify centre # center align window list
- # setw -g status-bg default
- # setw -g window-status-current-bg default
- # setw -g window-status-current-fg default
- # setw -g window-status-bg default
- # setw -g window-status-fg white
- # setw -g window-status-format '#[bg=black]#[fg=black,bold] #I #[bg=default] #[fg=black]#W '
- # setw -g window-status-current-format '#[fg=white]#[bg=cyan] #I #[fg=cyan]#[bg=default] #W '
- # Panel borders
- # set -g pane-active-border-fg cyan
- # set -g pane-active-border-bg default
- # set -g pane-border-fg black
- # set -g pane-border-bg default
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement