Skip to content

Instantly share code, notes, and snippets.

@pedrompcaetano
Created March 25, 2015 15:55
Show Gist options
  • Save pedrompcaetano/8b023239f810a9d34d9a to your computer and use it in GitHub Desktop.
Save pedrompcaetano/8b023239f810a9d34d9a to your computer and use it in GitHub Desktop.
[pcae@Agnes ~]$ cat .bashrc
# .bashrc
[ -z "$PS1" ] && return
source /home/pcae/.bashrc-tmux
# Source global definitions
if [ -f /etc/bashrc ]; then
. /etc/bashrc
fi
# User specific aliases and functions
#[[ $TERM != "screen-256color" ]] && tmux && exit
set -o vi
export HISTCONTROL=ignoreboth
export HISTSIZE=1000
[pcae@Agnes ~]$ cat .tmux.conf
set-option -g prefix C-x
bind-key C-x send-prefix
set -g default-terminal "screen-256color"
set -g history-limit 1000
set -g status-left ""
set -g status-right '#[fg=yellow]#(cut -d " " -f 1-3 /proc/loadavg)#[default] #[fg=cyan,bold]%Y-%m-%d %H:%M:%S#[default]'
#bind-key -n "C-Left" select-window -t :-
#bind-key -n "C-Right" select-window -t :+
bind -n M-Left select-window -t :-
bind -n M-Right select-window -t :+
bind -n M-Up select-pane -U
bind -n M-Down select-pane -D
setw -g mode-keys vi
#### COLOUR (Solarized dark)
# default statusbar colors
set-option -g status-bg black #base02
set-option -g status-fg yellow #yellow
set-option -g status-attr default
# default window title colors
set-window-option -g window-status-fg brightblue #base0
set-window-option -g window-status-bg default
#set-window-option -g window-status-attr dim
# active window title colors
set-window-option -g window-status-current-fg brightred #orange
set-window-option -g window-status-current-bg default
#set-window-option -g window-status-current-attr bright
# pane border
set-option -g pane-border-fg black #base02
set-option -g pane-active-border-fg brightgreen #base01
# message text
set-option -g message-bg black #base02
set-option -g message-fg brightred #orange
# pane number display
set-option -g display-panes-active-colour blue #blue
set-option -g display-panes-colour brightred #orange
# clock
set-window-option -g clock-mode-colour green #green
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment