1
0
mirror of https://github.com/kremalicious/dotfiles.git synced 2024-11-25 03:20:09 +01:00
dotfiles/tmux.conf

85 lines
1.8 KiB
Plaintext
Raw Normal View History

2017-05-07 01:20:00 +02:00
set -g default-terminal "screen-256color"
set -g base-index 1
set -g history-limit 10000
set-option -g mouse on
# panes
set -g pane-border-fg "#444444"
set -g pane-active-border-fg "#444444"
# enable activity alerts
setw -g monitor-activity on
set -g visual-activity on
set -g display-time 1000
set -g status-interval 10
set-window-option -g window-status-fg colour148
set-window-option -g window-status-bg black
set-window-option -g window-status-attr bright
set-window-option -g window-status-current-fg white
set-window-option -g window-status-current-bg "#444444"
set-window-option -g window-status-current-attr bold
set-window-option -g window-status-activity-fg colour202
set-window-option -g window-status-activity-bg "#444444"
set-window-option -g window-status-activity-attr bold
set -g window-status-format "#[fg=#d75f00]#I#[fg=default] #W"
set -g window-status-current-format "#[fg=#d75f00]#I#[fg=default] #W"
# status config
set -g status-left-length 70
set -g status-right-length 70
set -g status-left '#[fg=colour202]#H'
set -g status-right "uptime #(uptime | awk '{print $3}'|sed 's/,//') #[fg=colour148] %H:%M"
set -g status-fg white
set -g status-bg default
set-option -g status-position bottom
# keys
#unbind C-b
#set -g prefix C-a
set -g status-keys vi
setw -g mode-keys vi
# resize
bind -n M-, resize-pane -L 30
bind -n M-. resize-pane -R 30
# creating windows
bind -n M-w new-window
# kill current window
bind -n M-k confirm kill-window
# creating splits
bind -n M-S split-window -v
bind -n M-s split-window -h
# switching panes
bind -n M-h select-pane -L
bind -n M-j select-pane -D
bind -n M-k select-pane -U
bind -n M-l select-pane -R
# switching windows
bind -n M-u select-window -t :-
bind -n M-i select-window -t :+
# reload configuration
bind -n M-r source-file ~/.tmux.conf
# detach
bind-key -n C-M-q detach
set -s escape-time 0