Skip to content

Instantly share code, notes, and snippets.

@amicojeko
Last active August 29, 2015 14:23
Show Gist options
  • Save amicojeko/46211887bc83145d0c5d to your computer and use it in GitHub Desktop.
Save amicojeko/46211887bc83145d0c5d to your computer and use it in GitHub Desktop.
# -*- ~/.tmux.conf -*-
#
# - jeko@jeko.net -
#
set -g mode-mouse on
set -g monitor-activity on
set -g utf8 on
set -g mouse-select-pane on
set -g mouse-select-window on
set -g mouse-resize-pane on
set -g status-utf8 on
set -g repeat-time 200
set -g default-terminal "screen-256color"
#set -g clock-mode-style 12
#set -g clock-mode-colour red
set -g pane-active-border-fg '#ff0000'
set -g pane-border-fg '#00ff00'
set -g status-bg '#0000ff'
set -g status-fg '#ffffff'
set -g window-status-current-fg '#ff5555'
set -g window-status-activity-fg '#ffffff'
set -g window-status-activity-bg '#000044'
set -g status-right-length 100
set -g status-right-bg '#ff0000'
set -g status-right-fg '#ffffff'
set -g display-time 1500
set -g display-panes-time 2000
set -g history-limit 11001
set -g prefix C-f
unbind C-b
bind-key C-f send-prefix
# C-f C-f switches between the last two windows
bind-key C-f last-window
bind-key 'f' last-pane
bind-key - split-window
bind-key | split-window -h
bind-key C-l respawn-pane -k
unbind-key l
unbind-key &
bind-key k confirm-before -p "Kill window #W?" kill-window
bind-key \ confirm-before -p "Kill session #S?" kill-session
bind-key '#' split-window 'htop'
bind-key 'm' command-prompt -p "man:" "split-window 'exec man %%'"
bind-key 'o' command-prompt -p "ssh:" "split-window 'exec ssh %%'"
bind r source-file ~/.tmux.conf \; display-message "Config reloaded."
# Copy into the X clipboard
bind-key C-c run 'tmux show-buffer | xsel -pbi'
set-environment -gu RBENV_VERSION
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment