Files
TmuxConfig/tmux.conf

49 lines
1.2 KiB
Plaintext
Raw Normal View History

2025-04-11 17:13:22 +02:00
# release old prefix
unbind C-b
set -g prefix ^A
bind a send-prefix
2025-02-17 16:52:58 +01:00
# Easy quick reload, terminal way: tmux source ~/.tmux.conf
bind-key r source-file ~/.config/tmux/tmux.conf \; display-message "tmux.conf reloaded..."
2025-02-17 15:51:48 +00:00
2025-02-17 16:52:58 +01:00
# Use mouse
set -g mouse on
# Costumize down bar
set -g status-right "#(hostname) #[bg=green]🕒%H:%M"
2025-02-17 16:52:58 +01:00
# Use Shift+Arrow to navigate windows
bind -n S-Left previous-window
bind -n S-Right next-window
# Use ALT+Arrow to navigate panes
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
# Make new panes easier
bind-key v split-window -h
bind-key h split-window -v
# Start windows/panes at 1
set -g base-index 1
set -g pane-base-index 1
set-window-option -g pane-base-index 1
set-option -g renumber-windows on
# Status bar
set -g status-justify centre
# Keep windows name, necessary to use in WSL
set -g @catppuccin_window_current_text "#{window_name}"
set -g @catppuccin_window_text "#{window_name}"
# List of plugins
set -g @plugin 'tmux-plugins/tpm'
set -g @plugin 'tmux-plugins/tmux-sensible'
set -g @plugin 'catppuccin/tmux'
# Initialize TMUX plugin manager (keep this line at the very bottom of tmux.conf)
run '~/.tmux/plugins/tpm/tpm'