]> git.friedersdorff.com Git - max/saltfiles.git/blob - states/tmux/files/tmux.conf
All of the solarized all of the time
[max/saltfiles.git] / states / tmux / files / tmux.conf
1 # Set vi mode
2 set -g mode-keys vi
3 set -g history-limit 10000
4
5
6 set -g default-command $SHELL
7
8 unbind C-b 
9 set -g prefix C-a 
10 bind C-a send-prefix
11
12 set -g default-terminal "screen-256color"
13
14 set -s escape-time 0
15
16 # Options from https://www.hamvocke.com/blog/a-guide-to-customizing-your-tmux-conf/
17 # Better switching
18 bind | split-window -h
19 bind - split-window -v
20 unbind '"'
21 unbind %
22
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
28
29 # Easy reloading of config
30 bind r source-file ~/.tmux.conf
31
32 # Mouse bindings. THIS IS AWESOME!
33 set -g mouse on
34
35 # Dont rename windows (allows setting mail for instance)
36 set -g allow-rename off
37
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"
42
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"
47
48
49 # loud or quiet?
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
55
56 #### COLOUR (Solarized light)
57
58 # default statusbar colors
59 set-option -g status-style fg=yellow,bg=white #yellow and base2
60
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
64
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
68
69 # pane border
70 set-option -g pane-border-style fg=white #base2
71 set-option -g pane-active-border-style fg=brightcyan #base1
72
73 # message text
74 set-option -g message-style fg=brightred,bg=white #orange and base2
75
76 # pane number display
77 set-option -g display-panes-active-colour blue #blue
78 set-option -g display-panes-colour brightred #orange
79
80 # clock
81 set-window-option -g clock-mode-colour green #green
82
83 # bell
84 set-window-option -g window-status-bell-style fg=white,bg=red #base2, red