added server specific tmux config

This commit is contained in:
Andrei Stoica 2017-04-28 00:01:33 -04:00
parent 27b3ef977c
commit c166fed1aa
1 changed files with 29 additions and 0 deletions

View File

@ -0,0 +1,29 @@
# remap prefix from 'C-b' to 'C-a'
unbind C-b
set-option -g prefix C-a
bind-key C-a send-prefix
# Enable mouse control (clickable windows, panes, resizable panes)
set -g mouse on
# Initialize sesions
bind W source-file ~/.tmux/work
# reload config
bind r source-file ~/.tmux.conf \; display-message "Config reloaded..."
# spliting windoww
unbind %
unbind '"'
bind | split-window -h
bind - split-window -v
# setting vi mode
set-window-option -g mode-keys vi
# status bar
set -g status-right '%H:%m %d-%b-%y '
# default shell
set -g default-terminal "screen-256color" /bin/bash
#set-option -g default-shell /bin/bash