-
Notifications
You must be signed in to change notification settings - Fork 8
/
.tmux.conf
38 lines (30 loc) · 1.17 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
# Make it use C-a, similar to screen... (because I learn with screen and I never switched to C-b)
unbind C-b
unbind l
set -g prefix C-a
bind-key a send-prefix
bind-key C-a last-window
bind-key Space next-window
bind-key BSpace previous-window
bind-key '"' choose-window
bind-key c new-window -c '#{pane_current_path}'
bind-key | split-window -h -c '#{pane_current_path}'
bind-key - split-window -v -c '#{pane_current_path}'
bind-key r source-file ~/.tmux.conf
bind-key p command-prompt -p 'save history to filename:' -I '~/tmux.history' 'capture-pane -S -32768 ; save-buffer %1 ; delete-buffer'
# Global Conf
set -g default-terminal "screen-256color"
set -g history-limit 10000
# Theme
set -g status-bg black
set -g status-fg white
set -g status-left '#[fg=blue]#S #[default]'
set -g status-right ''
# Some custom color
set -g window-status-current-style bg=red
set -g window-status-activity-style fg=blue,bg=white
# Set window notifications
setw -g monitor-activity on
set -g visual-activity off
# Use mouse to select pane
set -g mouse on