Created
February 21, 2012 21:16
-
-
Save j-wilkins/1879003 to your computer and use it in GitHub Desktop.
my tmux conf. nothing to see here.
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
set -g prefix C-a | |
unbind C-b | |
bind C-a send-prefix | |
bind-key C-a last-window | |
# keep lots of scrollback | |
set -g history-limit 1000000 | |
# Set status bar | |
#set -g status-bg black | |
#set -g status-fg gray | |
#set -g status-bg colour235 | |
#set -g status-fg colour248 | |
setw -g window-status-current-attr bright | |
#set -g status-interval 1 | |
#set -g status-left '' | |
#set -g status-right '' | |
# THEME | |
set -g status-bg black | |
set -g status-fg white | |
set -g status-interval 60 | |
set -g status-left-length 38 | |
#set -g status-left '#[fg=green](#S) #(whoami)@#H#[default]' | |
set -g status-left '#[fg=green](#S) %D %H:%M #(whoami)@#H#[default]' | |
#set -g status-right '#[fg=yellow]#[default] #[fg=blue] %D %H:%M#[default]' | |
set -g status-right-length 52 | |
set -g status-right '#[fg=yellow]up #(uptime | cut -d, -f1,2 | sed "s/^.*up *//") :#(uptime|cut -d : -f4)#[default]' | |
#set -g status-right '#[fg=yellow]#(w | head -n1 | cut -d":" -f4)#[default] #[fg=blue] %D %H:%M#[default]' | |
#set -g status-right '#[fg=yellow]#(uptime | cut -d "," -f 2-)#[default] #[fg=blue]%H:%M#[default]' | |
#uptime | cut -d":" -f4- | sed s/,//g" | |
set -g default-shell /bin/zsh | |
# Configure tmux to use this wrapper program to start the shell for each new window | |
# this is for clipboard support | |
# second command is zsh | |
set-option -g default-command "reattach-to-user-namespace -l zsh" | |
# Highlight active window | |
#set-window-option -g window-status-current-bg red | |
# Automatically set window title | |
setw -g automatic-rename | |
# use "v" and "s" to do vertical/horizontal splits, like vim | |
bind s split-window -v | |
bind v split-window -h | |
# use the vim motion keys to move between panes | |
bind h select-pane -L | |
bind j select-pane -D | |
bind k select-pane -U | |
bind l select-pane -R | |
unbind p | |
bind p last | |
# use vim motion keys while in copy mode | |
setw -g mode-keys vi | |
# force a reload of the config file | |
unbind r | |
bind r source-file ~/.tmux.conf | |
# | |
# # quick pane cyclingunbind ^A | |
bind ^A select-pane -t :.+ | |
# use the vim resize keys | |
bind < resize-pane -L 10 | |
bind > resize-pane -R 10 | |
bind - resize-pane -D 10 | |
bind + resize-pane -U 10 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment