Skip to content

Instantly share code, notes, and snippets.

@PeterMinin
Last active August 9, 2020 14:33
Show Gist options
  • Save PeterMinin/76ca6f68b0f60381198818901b00e0c5 to your computer and use it in GitHub Desktop.
Save PeterMinin/76ca6f68b0f60381198818901b00e0c5 to your computer and use it in GitHub Desktop.
# Set prefix to Ctrl+A
unbind C-b
set -g prefix C-a
bind C-a send-prefix
# Enable mouse interaction (for tmux version >= 2.1):
# select and resize panes, copy text and change window using the status line
set-option -g mouse on
# Scroll History
set -g history-limit 30000
# Lower escape timing from 500ms to 50ms for quicker response to scroll-buffer access.
set -s escape-time 50
# List of plugins
set -g @plugin 'tmux-plugins/tpm'
set -g @plugin 'tmux-plugins/tmux-sensible'
set -g @plugin 'tmux-plugins/tmux-logging'
set -g @plugin 'tmux-plugins/tmux-yank'
# Workaround for Konsole from https://github.com/tmux/tmux/issues/1228
set -as terminal-overrides ',*:indn@'
# Set $TERM; must be "screen", "tmux" or a derivative of them
set -g default-terminal "screen-256color"
# Initialize TMUX plugin manager (must be at the very bottom of tmux.conf)
run '~/.tmux/plugins/tpm/tpm'
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment