First actual skeleton

This commit is contained in:
2025-02-17 16:52:58 +01:00
parent 7ecf5b26ef
commit 67cedd436e

View File

@@ -1,2 +1,52 @@
# Starting #unbind C-b
# Send Ctrl+a to applications by pressing it twice
bind C-a send-prefix
# Easy quick reload, terminal way: tmux source ~/.tmux.conf
bind-key r source-file ~/.config/tmux/tmux.conf \; display-message "tmux.conf reloaded..."
# Use mouse
set -g mouse on
# Costumize down bar
#set -g status-right "#(who | grep -w pts/1 | cut -d' ' -f1) #(hostname)"
# 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'
###### Information
# type this in terminal if tmux is already running
#