Files
dotfiles/tmux/tmux.conf

95 lines
2.2 KiB
Plaintext
Raw Normal View History

2014-09-30 19:55:51 +02:00
set -g default-terminal 'screen-256color'
2014-09-22 02:03:22 +02:00
set -g utf8 on
set -g status-utf8 on
2014-09-30 19:55:51 +02:00
set -g default-command "${SHELL}"
2014-09-22 02:03:22 +02:00
set -g prefix C-a
unbind C-b
bind C-a send-prefix
2014-09-30 19:55:51 +02:00
set -s escape-time 0
set-window-option -g aggressive-resize on
2014-09-22 02:03:22 +02:00
2014-09-30 19:55:51 +02:00
setw -g mode-mouse on
# set -g mouse-select-pane on
# set -g mouse-resize-pane on
# set -g mouse-select-window on
2014-09-22 02:03:22 +02:00
2014-09-30 19:55:51 +02:00
set -g mode-keys vi
set-option -g renumber-windows on
2014-09-22 02:03:22 +02:00
bind-key k confirm kill-window
bind-key K confirm kill-server
bind h select-pane -L
bind j select-pane -D
bind k select-pane -U
bind l select-pane -R
set -g bell-action any
set -g history-limit 5000
set -g base-index 1
2014-09-30 19:55:51 +02:00
set-window-option -g pane-base-index 1
2014-09-22 02:03:22 +02:00
set -g status-position bottom
set -g status-justify left
set -g status-bg '#222222'
set -g status-fg white
set -g status-attr default
2014-09-30 19:55:51 +02:00
2014-09-22 02:03:22 +02:00
set-window-option -g window-status-fg '#FFFFFF'
set-window-option -g window-status-bg '#444444'
set-window-option -g window-status-attr none
set-window-option -g window-status-format ' #I: #W #F '
2014-09-30 19:55:51 +02:00
set-window-option -g window-status-current-fg '#000000'
2014-09-22 02:03:22 +02:00
set-window-option -g window-status-current-bg red
set-window-option -g window-status-current-attr bold
set-window-option -g window-status-current-format ' #I: #W #F '
set-window-option -g monitor-activity on
2014-09-30 19:55:51 +02:00
#set -g visual-activity on
2014-09-22 02:03:22 +02:00
2014-09-30 19:55:51 +02:00
set-window-option -g automatic-rename on
set-window-option -g automatic-rename-format '#{pane_current_command}'
2014-09-22 02:03:22 +02:00
set-window-option -g window-status-separator ' '
2014-09-30 19:55:51 +02:00
set -g status-right '' ##[fg=colour226]#(uptime | cut -d ',' -f 2-)'
2014-09-22 02:03:22 +02:00
set -g message-fg white
set -g message-bg black
set -g message-attr default
set -g pane-border-fg white
set -g pane-active-border-fg red
#set -g status-style 'bg=black,fg=white,none'
set -g status-left ' #[bg=#E5F200,fg=#000000] #{session_name} #[bg=default] #[bg=#90FF00,fg=#000000] #{host} #[bg=default] '
set -g status-left-length 20
# vertical = | in this case
unbind %
unbind '"'
bind-key s split-window -v
bind-key v split-window -h
2014-09-30 19:55:51 +02:00
bind-key -n S-down new-window
bind-key -n S-left prev
bind-key -n S-right next
bind-key -n C-j detach
bind-key -n C-F1 command-prompt "split-window -h 'exec man %%'"
bind-key -n C-F2 split-window -h "exec htop"
bind-key -n C-F3 set-option status
bind-key r source-file ~/.tmux.conf \; display-message "~/.tmux.conf sourced"