Skip to content

Instantly share code, notes, and snippets.

@kimausloos
Last active February 4, 2019 13:13
Show Gist options
  • Select an option

  • Save kimausloos/87de64c9959d777f0f5ab7a08f1dc162 to your computer and use it in GitHub Desktop.

Select an option

Save kimausloos/87de64c9959d777f0f5ab7a08f1dc162 to your computer and use it in GitHub Desktop.
set -g set-clipboard on
set-window-option -g automatic-rename
# make tmux display things in 256 colors
set -g default-terminal "screen-256color"
# set scrollback history to 10000 (10k)
set -g history-limit 10000
set -g prefix C-b
bind C-b send-prefix
# navigating windows, shift + arrow left/right
bind -n S-Left previous-window
bind -n S-Right next-window
# navigating panes, alt(on mac) + arrows
bind -n M-Left select-pane -L
bind -n M-Right select-pane -R
bind -n M-Up select-pane -U
bind -n M-Down select-pane -D
bind-key -n C-S-Left swap-window -t -1
bind-key -n C-S-Right swap-window -t +1
bind = set-window-option synchronize-panes
# reload ~/.tmux.conf using PREFIX r
bind r source-file ~/.tmux.conf \; display "Reloaded!"
# split using | and -
bind | split-window -h
bind - split-window -v
# explicit enable mouse control
#set -g mouse on
setw -g monitor-activity on
set -g visual-activity on
# status Bar
set -g clock-mode-style 24
set -g status on
set -g status-interval 5
set -g status-left-length 70
set -g status-right-length 120
set -g status-bg colour238
set -g status-fg white
set -g status-right "%d %b %Y :: %H:%M"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment