67 lines
1.7 KiB
Bash
67 lines
1.7 KiB
Bash
set -a terminal-features "screen-256color:RGB"
|
|
set -ga terminal-overrides ",*col*:Tc"
|
|
set -g allow-passthrough all
|
|
set -ga update-environment TERM
|
|
set -ga update-environment TERM_PROGRAM
|
|
set -g prefix C-SPACE
|
|
set -g default-shell "~/.nix-profile/bin/zsh"
|
|
|
|
set -g base-index 1
|
|
setw -g pane-base-index 1
|
|
set -g renumber-windows on
|
|
|
|
set -g status-position top
|
|
set -g status-justify right
|
|
set -g status-style "bg=default"
|
|
set -g window-status-current-style "fg=#b4befe bold"
|
|
set -g message-style "bg=default fg=#b4befe bold"
|
|
set -g status-right ""
|
|
set -g status-left-length 40
|
|
set -g status-left "#S "
|
|
|
|
set -g mouse on
|
|
|
|
set-option -g set-titles on
|
|
set-option -g set-titles-string "#T"
|
|
|
|
set -g visual-activity off
|
|
set -g visual-bell off
|
|
set -g visual-silence off
|
|
setw -g monitor-activity off
|
|
set -g bell-action none
|
|
|
|
setw -g mode-style 'fg=#000000 bg=#cdd6f4 bold'
|
|
|
|
set -g window-style 'bg=#151515'
|
|
set -g window-active-style 'bg=#000000'
|
|
|
|
set -g pane-border-style 'fg=#a6adc8'
|
|
set -g pane-active-border-style 'fg=#b4befe'
|
|
|
|
bind s split-window -h -c "#{pane_current_path}"
|
|
bind v split-window -v -c "#{pane_current_path}"
|
|
unbind '"'
|
|
unbind %
|
|
|
|
bind-key Tab next-window
|
|
bind-key k confirm-before -p "kill window #W? (y/n)" kill-window
|
|
bind-key c new-window
|
|
|
|
bind-key t display-popup
|
|
|
|
bind-key h select-pane -L
|
|
bind-key i select-pane -R
|
|
bind-key e select-pane -U
|
|
bind-key n select-pane -D
|
|
|
|
bind -n M-Left select-pane -L
|
|
bind -n M-Right select-pane -R
|
|
bind -n M-Up select-pane -U
|
|
bind -n M-Down select-pane -D
|
|
|
|
bind r source-file "~/.config/tmux/tmux.conf" \; display-message "Config reloaded"
|
|
bind b set -g status
|
|
bind g neww -n "lazygit" lazygit
|
|
bind y new-window -n "yazi" yazi
|
|
bind E show-environment -g
|