summaryrefslogtreecommitdiff
path: root/tmux/.tmux.conf
blob: 97fcccf8e2781828e6fd09a596929c0f54dc043c (plain)
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
set-option -ga terminal-overrides ",xterm-256color-italic:Tc"

set -g status-bg '#2ecc71'
set -g status-fg '#ecf0f1'
set -g history-limit 50000

setw -g mode-keys vi
set -g mouse on
set-option -s set-clipboard off
bind-key -T copy-mode-vi MouseDragEnd1Pane send-keys -X copy-pipe-and-cancel "pbcopy -se c -i"


set -g status-left ''
set -g status-right "%d/%m/%Y %H:%M"

set -g renumber-windows on
bind r source-file ~/.tmux.conf \; display "Config Reloaded!"

# select pane
bind h select-pane -L
bind j select-pane -D
bind k select-pane -U
bind l select-pane -R

# select window
bind -r C-h select-window -t :-
bind -r C-l select-window -t :+

# resize pane
bind -r H resize-pane -L 10
bind -r J resize-pane -D 10
bind -r K resize-pane -U 10
bind -r L resize-pane -R 10