Last active
December 16, 2015 21:29
-
-
Save arindam89/5500206 to your computer and use it in GitHub Desktop.
Simple Tmux conf
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 prefix C-a | |
unbind C-b | |
bind C-a send-prefix | |
# force a reload of the config file | |
unbind r | |
bind r source-file ~/.tmux.conf | |
bind | split-window -h | |
bind - split-window -v | |
bind-key k select-pane -U | |
bind-key j select-pane -D | |
bind-key h select-pane -L | |
bind-key l select-pane -R | |
bind-key J resize-pane -D 5 | |
bind-key K resize-pane -U 5 | |
bind-key H resize-pane -L 5 | |
bind-key L resize-pane -R 5 | |
# quick pane cycling | |
unbind ^A | |
bind ^A select-pane -t :.+ | |
# Rename your terminals | |
set -g set-titles on | |
set -g set-titles-string '#(whoami)::#h::#(curl ipecho.net/plain;echo)' | |
# Status bar customization | |
set -g status-utf8 on | |
set -g status-bg black | |
set -g status-fg white | |
set -g status-interval 5 | |
set -g status-left-length 90 | |
set -g status-right-length 60 | |
set -g status-left "#[fg=Green]#(whoami)#[fg=white]::#[fg=blue] (hostname - s)#[fg=white]::##[fg=yellow]#(curl ipecho.net/plain;echo)" | |
set -g status-justify left | |
set -g status-right '#[fg=Cyan]#S #[fg=white]%a %d %b %R' |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment