-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathjsatk.tmux.conf
31 lines (25 loc) · 937 Bytes
/
jsatk.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
# tmux plugin manager: https://github.com/tmux-plugins/tpm
# List of plugins
set -g @plugin 'tmux-plugins/tpm'
set -g @plugin 'tmux-plugins/tmux-sensible'
set -g @plugin 'seebi/tmux-colors-solarized'
# Automatically renumber tmux windows
set -g renumber-windows on
# Remap prefix to Control + a
set -g prefix C-a
unbind C-b
bind C-a send-prefix
# Let me use my fucking mouse to scroll, tmux.
# This was stolen from this shitshow of a thread:
# https://github.com/tmux/tmux/issues/145
set -g mouse on
bind -n WheelUpPane if-shell -F -t = "#{mouse_any_flag}" "send-keys -M" "if -Ft= '#{pane_in_mode}' 'send-keys -M' 'copy-mode -e; send-keys -M'"
# pane movement shortcuts
bind h select-pane -L
bind j select-pane -D
bind k select-pane -U
bind l select-pane -R
# Bind Ctrl-a Ctrl-a to last window
bind-key C-a last-window
# Initialize TMUX plugin manager (keep this line at the very bottom of tmux.conf)
run '~/.tmux/plugins/tpm/tpm'