Created
April 16, 2010 10:47
-
-
Save tibra/368278 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Change prefix key to Ctrl+a | |
unbind C-b | |
set -g prefix C-a | |
# Last active window | |
unbind l | |
bind C-a last-window | |
# Copy mode | |
unbind [ | |
bind Escape copy-mode | |
# Use Vi mode | |
#setw -g mode-keys vi | |
# Make mouse useful in copy mode | |
setw -g mode-mouse on | |
# More straight forward key bindings for splitting | |
unbind % | |
bind | split-window -h | |
bind h split-window -h | |
unbind '"' | |
bind - split-window -v | |
bind v split-window -v | |
# History | |
set -g history-limit 1000 | |
# Pane | |
unbind o | |
bind C-s down-pane | |
# Terminal emulator window title | |
set -g set-titles on | |
set -g set-titles-string '#S:#I.#P #W' | |
# Status Bar | |
set -g status-bg black | |
set -g status-fg cyan | |
set -g status-interval 1 | |
#set -g status-left '#[fg=green]#[default]' | |
set -g status-right '#[fg=yellow]#(cut -d " " -f 1-4 /proc/loadavg)#[default]' | |
# Notifying if other windows has activities | |
setw -g monitor-activity on | |
set -g visual-activity on | |
# Highlighting the active window in status bar | |
setw -g window-status-current-bg green | |
setw -g window-status-current-fg white | |
# Clock | |
setw -g clock-mode-colour green | |
setw -g clock-mode-style 24 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment