dotfiles/tmux/.tmux.conf

43 lines
1.1 KiB
Text
Raw Normal View History

2024-06-27 13:10:15 +02:00
# Setup refresh bind
unbind r
bind r source-file ~/.tmux.conf
# Setup 256bit color for all terminal emulators
2024-06-27 13:10:15 +02:00
set -g default-terminal "screen-256color"
set -ag terminal-overrides ",alacritty:RGB,xterm-256color:RGB,gnome*:RGB"
# General tmux settings
2024-06-27 13:10:15 +02:00
set -g mouse on
set -g status-interval 5
set -g status-position top
set -g base-index 1
set -g set-titles on
set -g automatic-rename on
setw -g automatic-rename on
setw -g renumber-windows on
# Setup vim keybinds
setw -g mode-keys vi
bind-key h select-pane -L
bind-key j select-pane -D
bind-key k select-pane -U
bind-key l select-pane -R
# List of plugins
set -g @plugin 'tmux-plugins/tpm'
set -g @plugin 'tmux-plugins/tmux-sensible'
set -g @plugin 'dracula/tmux'
set -g @plugin 'christoomey/vim-tmux-navigator'
set -g @plugin "janoamaral/tokyo-night-tmux"
2024-06-27 13:10:15 +02:00
# Tokyo Night Customize
set -g @tokyo-night-tmux_window_id_style digital
set -g @tokyo-night-tmux_pane_id_style hsquare
set -g @tokyo-night-tmux_zoom_id_style dsquare
set -g @tokyo-night-tmux_show_datetime 1
set -g @tokyo-night-tmux_date_format DMY
set -g @tokyo-night-tmux_time_format 24H
2024-06-27 13:10:15 +02:00
# Initialize TMUX plugin manager
run '~/.tmux/plugins/tpm/tpm'