dotfiles/tmux.conf
2024-03-26 17:34:48 +01:00

57 lines
1.5 KiB
Bash

#set -g default-terminal "alacritty"
set -g default-terminal "tmux-256color"
set-option -ga terminal-overrides ",xterm-256color:Tc"
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
# Plugins
#
# 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