Skip to content

Instantly share code, notes, and snippets.

@tobiase
Forked from paulodeleo/.tmux.conf
Created February 23, 2019 01:35
Show Gist options
  • Select an option

  • Save tobiase/0adfa4bcd5938486869ed7373f3be0b5 to your computer and use it in GitHub Desktop.

Select an option

Save tobiase/0adfa4bcd5938486869ed7373f3be0b5 to your computer and use it in GitHub Desktop.
Tmux configuration to enable mouse scroll and mouse panel select, taken from: http://brainscraps.wikia.com/wiki/Extreme_Multitasking_with_tmux_and_PuTTY
# Make mouse useful in copy mode
setw -g mode-mouse on
# Allow mouse to select which pane to use
set -g mouse-select-pane on
# Allow xterm titles in terminal window, terminal scrolling with scrollbar, and setting overrides of C-Up, C-Down, C-Left, C-Right
set -g terminal-overrides "xterm*:XT:smcup@:rmcup@:kUP5=\eOA:kDN5=\eOB:kLFT5=\eOD:kRIT5=\eOC"
# Scroll History
set -g history-limit 30000
# Set ability to capture on start and restore on exit window data when running an application
setw -g alternate-screen on
# Lower escape timing from 500ms to 50ms for quicker response to scroll-buffer access.
set -s escape-time 50
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment