Last active
April 12, 2020 21:24
-
-
Save ekzhang/88df4c9ada3f3defc37d15c3505318c8 to your computer and use it in GitHub Desktop.
Tmux configuration file
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Set default terminal | |
set -g default-terminal "screen-256color" | |
# Tell Tmux that outside terminal supports true color | |
set -ga terminal-overrides ",xterm-256color*:Tc" | |
# Enable mouse | |
set -g mouse on | |
# Allow xterm titles in terminal window, terminal scrolling with scrollbar, and setting overrides of C-Up, C-Down, C-Left, C-Right | |
# (commented out because it disables cursor navigation in vim) | |
#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