Skip to content

Instantly share code, notes, and snippets.

@olegslavkin
Created January 9, 2018 07:52
Show Gist options
  • Save olegslavkin/ef0db56d86de9b00f661293ad3b68375 to your computer and use it in GitHub Desktop.
Save olegslavkin/ef0db56d86de9b00f661293ad3b68375 to your computer and use it in GitHub Desktop.
# Prefix
unbind C-b
set -g prefix `
bind ` send-prefix
set -g default-terminal "screen-256color"
set -g base-index 1
set -g mouse-select-pane on
set -g history-limit 30000
# status bar
set -g status-justify left
set -g status-bg black
set -g status-fg white
set-option -g status-inteval 5
set -g status-right-length 150
set -g status-left ""
set -g status-right "#[fg=green] %d-%m-%Y %H:%M #(whoami)"
set -g aggressive-resize on
set-option -g status-keys vi
set-window-option -g mode-keys vi
# Binds
bind h select-pane -L
bind j select-pane -D
bind k select-pane -U
bind l select-pane -R
bind r source-file ~/.tmux.conf \; \
display-message "source-file done"
bind-key s split-window -v
bind-key v split-window -h
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
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment