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 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 | # __
# /\ \__
# \ \ ,_\ ___ ___ __ __ __ _
# \ \ \/ /' __` __`\/\ \/\ \/\ \/'\
# \ \ \_/\ \/\ \/\ \ \ \_\ \/> </
# \ \__\ \_\ \_\ \_\ \____//\_/\_\
# \/__/\/_/\/_/\/_/\/___/ \//\/_/
# /-----------------------------------------\
# | synthwave tmux theme |
# | works best with synthwave colour scheme |
# | 2016 fs0ciety |
# | https://fs0ciety.info |
# \-----------------------------------------/
# Set prefix key to C-x
unbind C-b
set -g prefix C-x
bind C-x send-prefix
## set the default TERM
set -g default-terminal screen
### update the TERM variable of terminal emulator when creating a new session or attaching a existing session
set -g update-environment 'DISPLAY SSH_ASKPASS SSH_AGENT_PID SSH_CONNECTION WINDOWID XAUTHORITY TERM'
### determine if we should enable 256-colour support
if "[[ ${TERM} =~ 256color || ${TERM} == fbterm ]]" 'set -g default-terminal screen-256color'
### update the TERM variable of terminal emulator when creating a new session or attaching a existing session
set -g update-environment 'DISPLAY SSH_ASKPASS SSH_AGENT_PID SSH_CONNECTION WINDOWID XAUTHORITY TERM'
# i3 split bindings
bind g split-window -h
bind v split-window -v
unbind '"'
unbind %
# vim split navigation
bind h select-pane -L
bind j select-pane -D
bind k select-pane -U
bind l select-pane -R
# equalize splits with x
unbind space
bind x select-layout even-vertical
# window switching
unbind n
unbind c
bind c new-window
unbind ,
unbind .
bind , previous-window
bind . next-window
# change kill window bind
unbind &
bind k killp
# force a reload of the config file
unbind r
bind r source-file ~/.tmux.conf
set -g default-shell /bin/zsh
set -g default-command 'zsh'
set -g status on
set -g pane-base-index 1
set -g base-index 1
set -g set-titles on
set -g aggressive-resize on
set-option -g set-titles-string '#{pane_current_command}'
set-option -g history-limit 1024
set-option -g visual-activity on
set-option -g status-position bottom
set-option -g renumber-windows on
set-window-option -g monitor-activity off
set -g mouse on
bind -T root WheelUpPane if-shell -F -t = "#{alternate_on}" "send-keys -M" "select-pane -t =; copy-mode -e; send-keys -M"
bind -T root WheelDownPane if-shell -F -t = "#{alternate_on}" "send-keys -M" "select-pane -t =; send-keys -M"
# Split
set-option -g pane-active-border-fg colour234
set-option -g pane-active-border-bg default
set-option -g pane-border-fg colour234
set-option -g pane-border-bg default
set -g status-left ''
set -g status-right '#[fg=white,bg=magenta] %b %d %Y #[fg=white,bg=blue] %R '
set -g status-right-length 100
set -g status-bg default
setw -g window-status-format '#[fg=cyan,bg=black] #I #[fg=cyan,bg=black] #W '
setw -g window-status-current-format '#[fg=white,bg=blue] #I #[fg=white,bg=magenta] #W '
|
x
Notes
tmux configuration to go with synthwave colour scheme
ztrxm said about 8 years ago
FONT PLS X.X
dotFox said about 8 years ago
I keep getting this. Any reason why I’d be getting it?
/home/fox/.tmux.conf:84: invalid or unknown command: bind -T root WheelUpPane if-shell -F -t = “#{alternate_on}” “send-keys -M” “select-pane -t =; copy-mode
/home/fox/.tmux.conf:85: invalid or unknown command: -e; send-keys -M”
/home/fox/.tmux.conf:86: invalid or unknown command: bind -T root WheelDownPane if-shell -F -t = “#{alternate_on}” “send-keys -M” “select-pane -t =; send-keys
/home/fox/.tmux.conf:87: invalid or unknown command: -M”
edited about 8 years ago
fs0ciety said about 7 years ago
Unfortunately I’ve never come across that problem.