Skip to content

Commit

Permalink
update tmux config
Browse files Browse the repository at this point in the history
  • Loading branch information
kascote committed Mar 31, 2012
1 parent 08efb41 commit d1b953f
Showing 1 changed file with 24 additions and 4 deletions.
28 changes: 24 additions & 4 deletions dot/tmux.conf
Expand Up @@ -8,26 +8,46 @@ set -g history-limit 20000
setw -g window-status-current-bg '#ff0000'
setw -g window-status-current-fg '#ffff33'

## pane border and colors
set-option -g pane-active-border-fg colour240
set-option -g pane-border-fg colour240

# Status bar
set -g status-utf8 on
set -g status-bg '#000000'
set -g status-fg '#ffffff'
set -g status-left '#[fg=green]#H:[#S]'
set -g status-right '#[fg=yellow]#(uptime | cut -d "," -f 4- | cut -d " " -f 5-) ~ %H:%M %d-%b-%y %Z'

## set window notifications
set -g visual-activity on
set -g visual-content on

# rename windows to current command
setw -g automatic-rename on
# set clock to 24h format
setw -g clock-mode-style 24
# use vim motion keys while in copy mode
setw -g mode-keys vi
# Set window notifications
setw -g monitor-activity on
setw -g monitor-activity off
# enable utf8
setw -g utf8 on

## tmux window titling for X
set -g set-titles on
set -g set-titles-string '[#I] #W'
# rename windows to current command
setw -g automatic-rename on
setw -g window-status-format ' #I #W '
setw -g window-status-attr bold

## starts windows at 1 not 0
set-option -g base-index 1

# messages
set-option -g message-fg colour229
set-option -g message-bg colour3
set-option -g display-time 1500

# ---- BINDINGS ----

# use "v" and "s" to do vertical/horizontal splits, like vim
Expand All @@ -53,7 +73,7 @@ bind-key C-a last-window

# force a reload of the config file
unbind r
bind r source-file ~/.tmux.conf
bind r source-file ~/.tmux.conf; display-message " ✱ ~/.tmux.conf is reloaded"

unbind ^T
bind ^T split-window -p 25

0 comments on commit d1b953f

Please sign in to comment.