Update tmux conf for cappucin
This commit is contained in:
parent
9cf67a4948
commit
b94acc1feb
@ -4,53 +4,69 @@ bind - split-window -v
|
||||
unbind '"'
|
||||
unbind %
|
||||
|
||||
# reload config file (change file location to your the tmux.conf you want to use)
|
||||
#############
|
||||
### THEME ###
|
||||
#############
|
||||
|
||||
set -g default-terminal "tmux-256color"
|
||||
|
||||
run ~/.config/tmux/plugins/catppuccin/tmux/catppuccin.tmux
|
||||
|
||||
set -g @catppuccin_flavor "mocha" # latte, frappe, macchiato, or mocha
|
||||
set -g @catppuccin_window_status_style "rounded" # basic, rounded, slanted, custom, or none
|
||||
|
||||
set -g status-right-length 100
|
||||
set -g status-right "#{E:@catppuccin_status_application}#{E:@catppuccin_status_session}"
|
||||
set -g status-left ""
|
||||
|
||||
get -g @catppuccin_pane_border_status "off"
|
||||
|
||||
################
|
||||
### BINDINGS ###
|
||||
################
|
||||
|
||||
# r - RELOAD
|
||||
bind r source-file ~/.config/tmux/tmux.conf
|
||||
|
||||
# Enable mouse control (clickable windows, panes, resizable panes)
|
||||
# switch panes using Alt-arrow without prefix
|
||||
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
|
||||
|
||||
unbind M-Left
|
||||
unbind C-Left
|
||||
unbind M-Right
|
||||
unbind C-Right
|
||||
unbind M-Up
|
||||
unbind C-Up
|
||||
unbind M-Down
|
||||
unbind C-Down
|
||||
|
||||
bind M-Left resize-pane -L 1 \; switch-client -T prefix
|
||||
bind C-Left resize-pane -L 5 \; switch-client -T prefix
|
||||
bind M-Right resize-pane -R 1 \; switch-client -T prefix
|
||||
bind C-Right resize-pane -R 5 \; switch-client -T prefix
|
||||
bind M-Up resize-pane -U 1 \; switch-client -T prefix
|
||||
bind C-Up resize-pane -U 5 \; switch-client -T prefix
|
||||
bind M-Down resize-pane -D 1 \; switch-client -T prefix
|
||||
bind C-Down resize-pane -D 5 \; switch-client -T prefix
|
||||
|
||||
|
||||
################
|
||||
### SETTINGS ###
|
||||
################
|
||||
|
||||
# Enable mouse
|
||||
set -g mouse on
|
||||
|
||||
# don't rename windows automatically
|
||||
# Don't rename windows automatically
|
||||
set-option -g allow-rename off
|
||||
|
||||
# DESIGN TWEAKS
|
||||
|
||||
# don't do anything when a 'bell' rings
|
||||
# Don't do anything when a 'bell' rings
|
||||
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
|
||||
|
||||
# clock mode
|
||||
setw -g clock-mode-colour yellow
|
||||
|
||||
# copy mode
|
||||
setw -g mode-style 'fg=black bg=red bold'
|
||||
|
||||
# panes
|
||||
set -g pane-border-style 'fg=green'
|
||||
set -g pane-active-border-style 'fg=yellow'
|
||||
|
||||
# statusbar
|
||||
set -g status-position bottom
|
||||
set -g status-justify left
|
||||
set -g status-style 'fg=red'
|
||||
|
||||
set -g status-left ''
|
||||
set -g status-left-length 10
|
||||
|
||||
set -g status-right-style 'fg=black bg=yellow'
|
||||
set -g status-right '%Y-%m-%d %H:%M '
|
||||
set -g status-right-length 50
|
||||
|
||||
setw -g window-status-current-style 'fg=black bg=red'
|
||||
setw -g window-status-current-format ' #I #W #F '
|
||||
|
||||
setw -g window-status-style 'fg=red bg=black'
|
||||
setw -g window-status-format ' #I #[fg=white]#W #[fg=yellow]#F '
|
||||
|
||||
setw -g window-status-bell-style 'fg=yellow bg=red bold'
|
||||
|
||||
# messages
|
||||
set -g message-style 'fg=yellow bg=red bold'
|
||||
|
||||
6
.gitignore
vendored
6
.gitignore
vendored
@ -6,9 +6,9 @@
|
||||
!.zinit.zsh
|
||||
!.zshrc
|
||||
!.zstyle.zsh
|
||||
!.config/hypr
|
||||
!.config/hypr/*
|
||||
!.config/nvim/init.lua
|
||||
!.config/nvim/lua/*
|
||||
!.config/tmux
|
||||
!.config/waybar
|
||||
!.config/tmux/*
|
||||
!.config/waybar/*
|
||||
!.p10k.zsh
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user