75 lines
2.3 KiB
Bash
75 lines
2.3 KiB
Bash
#set -g default-terminal "alacritty"
|
|
|
|
set -g default-terminal "tmux-256color"
|
|
set -ga terminal-overrides ",$TERM:RGB"
|
|
# set-option -g default-shell "/bin/bash"
|
|
set -g focus-events on
|
|
|
|
set -g mouse on
|
|
|
|
# remap prefix to Ctrl-f
|
|
unbind C-b
|
|
set-option -g prefix C-f
|
|
bind-key C-f send-prefix
|
|
|
|
# vim keybindings to navigate across panes
|
|
# Set Vim-style pane navigation
|
|
bind-key -n C-h select-pane -L
|
|
bind-key -n C-j select-pane -D
|
|
bind-key -n C-k select-pane -U
|
|
bind-key -n C-l select-pane -R
|
|
|
|
|
|
# status bar
|
|
# set -g window-status-current-style 'fg=white'
|
|
# set -g window-style default
|
|
# set -g status-style "fg=#665c54"
|
|
# set -g status-left-style "fg=#928374"
|
|
# set -g status-bg default
|
|
# set -g status-position top
|
|
# set -g status-interval 1
|
|
# set -g status-left ""
|
|
#
|
|
# count the panes from 1
|
|
set -g base-index 1
|
|
setw -g pane-base-index 1
|
|
|
|
# reload configuration
|
|
bind-key -r r source-file ~/.tmux.conf
|
|
run ~/.tmux/plugins/catppuccin/catppuccin.tmux
|
|
# Plugins
|
|
#
|
|
|
|
set -g @catppuccin_window_left_separator ""
|
|
set -g @catppuccin_window_right_separator " "
|
|
set -g @catppuccin_window_middle_separator " █"
|
|
set -g @catppuccin_window_number_position "right"
|
|
|
|
set -g @catppuccin_window_default_fill "number"
|
|
set -g @catppuccin_window_default_text "#W"
|
|
|
|
set -g @catppuccin_window_current_fill "number"
|
|
set -g @catppuccin_window_current_text "#W"
|
|
|
|
set -g @catppuccin_status_modules_right "host session date_time"
|
|
set -g @catppuccin_status_left_separator " "
|
|
set -g @catppuccin_status_right_separator ""
|
|
set -g @catppuccin_status_fill "icon"
|
|
set -g @catppuccin_status_connect_separator "no"
|
|
|
|
set -g @catppuccin_directory_text "#{pane_current_path}"
|
|
# List of plugins
|
|
# set -g @plugins 'tmux-plugins/tpm' # tmux package manager
|
|
# set -g @plugins 'tmux-plugins/tmux-resurrect' # persist tmux environment across system restarts
|
|
# set -g @plugins 'tmux-plugins/tmux-continuum' # continuous saving of tmux environment
|
|
# set -g @plugins 'tmux-plugins/tmux-yank' # for copying to system clipboard
|
|
# set -g @plugins 'tmux-plugins/tmux-prefix-highlight' # highlights when you press tmux prefix key
|
|
# set -g @plugins 'dracula/tmux'
|
|
#
|
|
#
|
|
# # Dracula config
|
|
# set -g @dracula-border-contrast true
|
|
# set -g @dracula-show-fahrenheit false
|
|
# set -g @dracula-show-weather false
|
|
# set -g @dracula-ram-usage true
|
|
# set -g @dracula-cpu-usage true
|