z_mirror/dotfiles

git clone https://git.raiguard.me/z_mirror/dotfiles

Caleb Heuertmux: Fix configuration file pathd668928

noctalia
2.4 KiB83 linesraw
1set -g terminal-overrides ",alacritty:RGB"
2set-option -g terminal-features ",alacritty:usstyle"
3
4set -s escape-time 0
5
6# remap prefix from 'C-b' to 'C-g'
7unbind C-b
8set-option -g prefix C-g
9bind-key C-g send-prefix
10
11bind-key c new-window -c "#{pane_current_path}"
12bind-key r source-file ~/.tmux.conf \; display-message "~/.tmux.conf reloaded"
13
14set -g base-index 1
15setw -g pane-base-index 1
16
17setw -g automatic-rename on   # rename window to reflect current program
18set -g renumber-windows on    # renumber windows when a window is closed
19
20set -g set-titles on          # set terminal title
21
22set-window-option -g mode-keys vi
23
24# pane navigation
25bind h select-pane -L  # move left
26bind j select-pane -D  # move down
27bind k select-pane -U  # move up
28bind l select-pane -R  # move right
29bind > swap-pane -D       # swap current pane with the next one
30bind < swap-pane -U       # swap current pane with the previous one
31
32# maximize current pane
33bind + run "cut -c3- '#{TMUX_CONF}' | sh -s _maximize_pane '#{session_name}' '#D'"
34
35# pane resizing
36bind -r H resize-pane -L 2
37bind -r J resize-pane -D 2
38bind -r K resize-pane -U 2
39bind -r L resize-pane -R 2
40
41bind f run-shell "tmux neww ~/.local/bin/tmux-sessionizer"
42
43# window navigation
44unbind n
45unbind p
46bind -r C-h previous-window # select previous window
47bind -r C-l next-window     # select next window
48bind Tab last-window        # move to last active window
49
50set -g mouse on
51
52# bind-key s command-prompt -p "send pane to:"  "join-pane -t '%%'"
53
54# STYLE (TokyoNight Night)
55
56#          fg    #c0caf5
57#          bg    #1a1b26
58#       subbg    #1f2335
59#         red    #e06c75
60#       green    #98c379
61#      yellow    #e0af68
62#      orange    #ff9e64
63#        blue    #7aa2f7
64#     magenta    #bb9af7
65#        cyan    #7dcfff
66#     comment    #565f89
67
68# Generic status
69set -g status-left-length 40
70setw -g status-style fg='#c0caf5',bg='#1f2335'
71setw -g status-right " %H:%M #h "
72# Active window status
73setw -g window-status-current-format " #{bold}#{window_index}:#{window_name}"
74setw -g window-status-current-style fg='#98c379'
75# Inactive window status
76setw -g window-status-format " #{window_index}:#{window_name}"
77setw -g window-status-style fg='#565f89'
78# Pane border
79set -g pane-border-style fg='#565f89'
80set -g pane-active-border-style fg='#7dcfff'
81# Command line and messages
82set-window-option -g mode-style fg='#7aa2f7',bg='#1f2335'
83set-option -g message-style fg='#7aa2f7',bg='#1f2335'