-
Notifications
You must be signed in to change notification settings - Fork 0
/
.tmux.conf
41 lines (28 loc) · 1.21 KB
/
.tmux.conf
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
#so tmux will launch a default session or connect to the default session
set -g default-terminal "screen-256color"
#this makes it so typing 'tmux at' or 'tmux attach' at the terminal will either attach to existing session or
# create a new session if none exists.
new-session
# Make mouse useful
setw -g mode-mouse on
set -g mouse-select-pane on
set -g mouse-resize-pane on
set -g mouse-select-window 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"
set-window-option -g xterm-keys
# 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 #was 5000
set-option -g base-index 1
set-window-option -g pane-base-index 1
unbind-key C-b
#set-option -g prefix M-m
#set-option -g prefix C-z
#bind-key z send-prefix
set-option -g prefix `
bind-key ` send-prefix
#set-option -g default-command "reattach-to-user-namespace -l bash"