Skip to content

Instantly share code, notes, and snippets.

@graugans
Last active February 5, 2020 12:39
Show Gist options
  • Star 1 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save graugans/e102f3057e7ca235a2cd797741cd4ef9 to your computer and use it in GitHub Desktop.
Save graugans/e102f3057e7ca235a2cd797741cd4ef9 to your computer and use it in GitHub Desktop.
My tmux configuration
# Force a reload of the tmux config with
# CTRL-B r
unbind r
bind r source-file ~/.tmux.conf \; display "Reloading config..."
# VIM mode in CTRL-B [
set-window-option -g mode-keys vi
# Start window numbering at 1
set -g base-index 1
# Setting pane base index to 1.
setw -g pane-base-index 1
# Aggressive resize
setw -g aggressive-resize on
# Monitor window activity
setw -g monitor-activity on
set -g visual-activity on
# Switch on UTF-8 support for status bar
set -g status-utf8 on
# get rid of the nasty timeout when switchin between panes
# with `set-option -g repeat-time 0` switching to window 10
# is impossible
bind-key Up select-pane -U
bind-key Down select-pane -D
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment