summaryrefslogtreecommitdiff
path: root/tmux/.tmux.conf
blob: 68bd0dd08a585ff45aa4d9f4267ccecb05e0b365 (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
34
35
36
37
38
39
40
41
42
43
44
45
#set-option -ga terminal-overrides ",xterm-256color-italic:Tc"
set-option -g default-terminal "screen-256color"

bind c new-window -c "#{pane_current_path}"
bind '"' split-window -c "#{pane_current_path}"
bind % split-window -h -c "#{pane_current_path}"

set -g history-limit 5000

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 "%a %d/%m/%Y %H:%M"
set -g status-right ''

set -g status-bg colour234
set -g status-fg yellow

set -g renumber-windows on
set -g history-file ~/.tmux_history
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

# Source the vim tmuxline
#if-shell "test -f ~/.tmuxline" "source ~/.tmuxline"