Created
August 7, 2016 00:48
-
-
Save GRardB/f2f0205b943cbc6c0677599098545db3 to your computer and use it in GitHub Desktop.
This file contains hidden or 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 default-terminal "screen-256color" | |
set -g history-limit 20000 | |
#urxvt tab like window switching (-n: no prior escape seq) | |
bind -n S-down new-window | |
bind -n S-left prev | |
bind -n S-right next | |
bind -n C-left swap-window -t -1 | |
bind -n C-right swap-window -t +1 | |
# reload config | |
unbind r | |
bind r source-file ~/.tmux.conf | |
unbind ^T | |
bind ^T split-window -p 25 | |
# horizontal and vertical splits | |
unbind | | |
bind | split-window -h | |
unbind _ | |
bind _ split-window | |
# tile all windows | |
unbind = | |
bind = select-layout tiled | |
# cycle through panes | |
unbind ^A | |
bind ^A select-pane -t :.+ | |
unbind Right | |
bind Right resize-pane -R 8 | |
unbind Left | |
bind Left resize-pane -L 8 | |
unbind Up | |
bind Up resize-pane -U 4 | |
unbind Down | |
bind Down resize-pane -D 4 | |
unbind h | |
bind h select-pane -L | |
unbind j | |
bind j select-pane -D | |
unbind k | |
bind k select-pane -U | |
unbind l | |
bind l select-pane -R | |
# status bar | |
set -g status-bg black | |
set -g status-fg white | |
set -g status-interval 1 | |
set -g status-right-length 60 | |
set -g status-left ' ' | |
set -g status-right '#(battery-life) (#(battery-time)) #[fg=yellow]%Y-%m-%d %H:%M#[default] ' | |
set-window-option -g window-status-current-bg green | |
set-window-option -g window-status-current-fg black | |
set -s escape-time 0 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment