commit c59b99d9c3143893529f77c6e1839d9fa977578d from: Rafael M date: Sat May 2 19:34:50 2026 UTC tmux commit - cea02657fe5df49f93734e6c5a7e2740ac45c2be commit + c59b99d9c3143893529f77c6e1839d9fa977578d blob - /dev/null blob + 0c1aabd4c1ca7ab18430af679e6a7e4f1253a32b (mode 644) --- /dev/null +++ home/.tmux.conf @@ -0,0 +1,61 @@ +bind r source ~/.tmux.conf \; display-message "RELOADING CONF FILE..." + +unbind C-b +set -g prefix C-a +bind C-a send-prefix + +set -g status on +set -g status-right " " +set-option -g status-left '#P' + +setw -g window-status-current-style fg=white,bg=red,bright +set-option -g pane-active-border-style fg=red + +setw -g mode-keys emacs +set -g mouse on +set -g history-limit 100000 +set -s escape-time 200 + +set -g set-titles on +set -g set-titles-string "#h: #W" + +set -g base-index 1 +setw -g pane-base-index 1 + +setw -g renumber-windows on + +bind -n "M-1" select-window -t ":1" +bind -n "M-2" select-window -t ":2" +bind -n "M-3" select-window -t ":3" +bind -n "M-4" select-window -t ":4" +bind -n "M-5" select-window -t ":5" +bind -n "M-6" select-window -t ":6" +bind -n "M-7" select-window -t ":7" +bind -n "M-8" select-window -t ":8" +bind -n "M-9" select-window -t ":$" +bind -n "M-0" select-window -t ":^" + +bind "C-c" new-window -a + +bind "S-Left" { + swap-window -t -1 + select-window -t -1 +} +bind "S-Right" { + swap-window -t +1 + select-window -t +1 +} + + +set -g @plugin 'tmux-plugins/tpm' +set -g @plugin 'tmux-plugins/tmux-sensible' + +set -g @plugin 'dracula/tmux' +set -g @dracula-plugins "cpu-usage ram-usage time" +set -g @dracula-show-flags true +set -g @dracula-show-powerline true +set -g @dracula-show-empty-plugins false +set -g @dracula-show-location false +set -g @dracula-show-fahreheit false + +run '~/.tmux/plugins/tpm/tpm' blob - 8856ab14ccc6e29005bcf8ca3ad83380ec643933 blob + 37c516b62a9918d93c5850fae66a8f2e95ac2653 --- makefile +++ makefile @@ -1,4 +1,5 @@ DOTFILES_DIR := $(HOME)/.dotfiles +TPM_DIR := $(HOME)/.tmux/plugins/tpm .PHONY: home packages local @@ -9,6 +10,15 @@ home: --restow \ home + @if [ ! -d "$(TPM_DIR)/.git" ]; then \ + echo ">> Installing TPM into $(TPM_DIR)"; \ + mkdir -p "$(HOME)/.tmux/plugins"; \ + git clone https://github.com/tmux-plugins/tpm "$(TPM_DIR)"; \ + else \ + echo ">> TPM already installed: $(TPM_DIR)"; \ + fi + + local: @echo ">> Stowing local dotfiles into $(HOME)" cd "$(DOTFILES_DIR)" && stow --verbose --target="$(HOME)" \