3 set -g history-limit 10000
6 set -g default-command $SHELL
12 set -g default-terminal "screen-256color"
16 # Options from https://www.hamvocke.com/blog/a-guide-to-customizing-your-tmux-conf/
18 bind | split-window -h
19 bind - split-window -v
23 # Easier pane switching
24 bind -n M-k select-pane -U
25 bind -n M-j select-pane -D
26 bind -n M-h select-pane -L
27 bind -n M-l select-pane -R
29 # Easy reloading of config
30 bind r source-file ~/.tmux.conf
32 # Mouse bindings. THIS IS AWESOME!
35 # Dont rename windows (allows setting mail for instance)
36 set -g allow-rename off
38 ## move x clipboard into tmux buffer
39 #bind C-p run "tmux set-buffer \"$(xclip -o)\""
40 ## move tmux copy buffer into x clipboard
41 #bind C-y run "tmux save-buffer - | xclip -i"
43 #move wayland clipbord into tmux buffer
44 bind C-p run "tmux set-buffer \"$(wm_paste)\""
45 # move tmux copy buffer into wayland clipboard
46 bind C-y run "tmux save-buffer - | wm_copy"
50 set-option -g visual-activity off
51 set-option -g visual-bell off
52 set-option -g visual-silence off
53 set-window-option -g monitor-activity off
54 set-option -g bell-action none
56 #### COLOUR (Solarized light)
58 # default statusbar colors
59 set-option -g status-style fg=yellow,bg=white #yellow and base2
61 # default window title colors
62 set-window-option -g window-status-style fg=brightyellow,bg=default #base0 and default
63 #set-window-option -g window-status-style dim
65 # active window title colors
66 set-window-option -g window-status-current-style fg=brightred,bg=default #orange and default
67 #set-window-option -g window-status-current-style bright
70 set-option -g pane-border-style fg=white #base2
71 set-option -g pane-active-border-style fg=brightcyan #base1
74 set-option -g message-style fg=brightred,bg=white #orange and base2
77 set-option -g display-panes-active-colour blue #blue
78 set-option -g display-panes-colour brightred #orange
81 set-window-option -g clock-mode-colour green #green
84 set-window-option -g window-status-bell-style fg=white,bg=red #base2, red