Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- # command prefix (like screen)
- set -g prefix C-a
- bind C-a send-prefix
- set-window-option -g aggressive-resize
- set -g lock-after-time 1800
- setw -g remain-on-exit on
- setw -g window-status-current-attr "underscore"
- set-window-option -g utf8 on # utf8 support
- setw -g xterm-keys on
- # basic settings
- set-window-option -g mode-keys vi # vi key
- set-option -g status-keys vi
- #set-window-option -g mode-mouse off # disable mous
- setw -g mode-mouse on
- set-window-option -g aggressive-resize
- # copy mode to escape key
- #unbind [
- bind Escape copy-mode
- # move tmux copy buffer into x clipboard
- bind-key C-y save-buffer /tmp/tmux-buffer \; run-shell "cat /tmp/tmux-buffer | xclip"
- set-option -g default-terminal “screen-256color”
- # splitting and cycling
- set-option -g mouse-select-pane on
- unbind %
- bind + split-window -h # horizontal split
- unbind '"'
- bind _ split-window -v # vertical split
- bind C-j previous-window
- bind C-k next-window
- # window title
- set-option -g set-titles on
- set-option -g set-titles-string '#S:#I.#P #W' # window number,program name,active (or not)
- set-window-option -g automatic-rename on # auto name
- # messages
- #set-window-option -g mode-bg magenta
- #set-window-option -g mode-fg black
- #set-option -g message-bg magenta
- #set-option -g message-fg black
- # No visual activity
- set -g visual-activity on
- set -g visual-bell on
- #next tab
- #bind C-right next
- #previous tab
- #bind C-left prev
- # status bar
- set-option -g status-utf8 on
- set-option -g status-justify right
- set-option -g status-bg black
- set-option -g status-fg cyan
- set-option -g status-interval 5
- set-option -g status-left-length 30
- set-option -g status-left '#[fg=magenta]» #[fg=blue,bold]#T#[default]'
- set-option -g status-right '#[fg=cyan]»» #[fg=blue,bold]###S #[fg=magenta]%R %m-%d#(acpi | cut -d ',' -f 2)#[default]'
- set-option -g visual-activity on
- set-window-option -g monitor-activity on
- set-window-option -g window-status-current-fg white
- # clock
- set-window-option -g clock-mode-colour cyan
- set-window-option -g clock-mode-style 24
- bind r source-file ~/.tmux.conf
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement