Skip to content

Commit 173b731

Browse files
committed
Add tmux.conf
1 parent 392b62d commit 173b731

File tree

1 file changed

+27
-0
lines changed

1 file changed

+27
-0
lines changed

tmux.conf

+27
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,27 @@
1+
# From: https://gist.github.com/paulodeleo/5594773
2+
3+
# TMUX 2:
4+
5+
# Make mouse useful in copy mode
6+
set -g mouse on
7+
8+
9+
# Scroll History
10+
set -g history-limit 30000
11+
12+
# Set ability to capture on start and restore on exit window data when running an application
13+
setw -g alternate-screen on
14+
15+
# Lower escape timing from 500ms to 50ms for quicker response to scroll-buffer access.
16+
set -s escape-time 50
17+
18+
# Use Alt-arrow keys without prefix key to switch panes
19+
bind -n M-Left select-pane -L
20+
bind -n M-Right select-pane -R
21+
bind -n M-Up select-pane -U
22+
bind -n M-Down select-pane -D
23+
24+
%if #{==:#{host},vm-ubuntu}
25+
# Change background to dark blue
26+
set -g window-style 'bg=#000044'
27+
%endif

0 commit comments

Comments
 (0)