commit 058c4cfc97a158a6eec2ae0b5a51e3b5a5865609 Author: Jannik Donker Date: Thu May 7 07:38:35 2026 +0200 initial commit diff --git a/plugins/tmux-gruvbox b/plugins/tmux-gruvbox new file mode 160000 index 0000000..aeb30c7 --- /dev/null +++ b/plugins/tmux-gruvbox @@ -0,0 +1 @@ +Subproject commit aeb30c7172a8ed8663409207814cf47d9df10d15 diff --git a/plugins/tmux-sensible b/plugins/tmux-sensible new file mode 160000 index 0000000..25cb91f --- /dev/null +++ b/plugins/tmux-sensible @@ -0,0 +1 @@ +Subproject commit 25cb91f42d020f675bb0a2ce3fbd3a5d96119efa diff --git a/plugins/tpm b/plugins/tpm new file mode 160000 index 0000000..99469c4 --- /dev/null +++ b/plugins/tpm @@ -0,0 +1 @@ +Subproject commit 99469c4a9b1ccf77fade25842dc7bafbc8ce9946 diff --git a/tmux.conf b/tmux.conf new file mode 100644 index 0000000..81f26b9 --- /dev/null +++ b/tmux.conf @@ -0,0 +1,51 @@ +set -g mouse on +set -g base-index 1 +set -g pane-base-index 1 +set-option -g status-position top +set -g allow-passthrough on + +# Right side: disable (remove everything) +set -g status-right "" + +# Window list style +set -g status-style "bg=#3c3836" +set -g window-status-style "bg=#3c3836" +set -g window-status-current-style "bg=#3c3836,bold" + +bind c new-window -c "#{pane_current_path}" +bind % split-window -h -c "#{pane_current_path}" +bind '"' split-window -v -c "#{pane_current_path}" + +# Alt-key bindings (no prefix) — mirror alacritty Ctrl-key mappings +bind -n M-t new-window -c "#{pane_current_path}" +bind -n M-d kill-pane +bind -n M-, command-prompt -I "#W" "rename-window '%%'" +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 :9 + +# Splits +bind -n M-= split-window -v -c "#{pane_current_path}" +bind -n M-'\' split-window -h -c "#{pane_current_path}" + +# Pane navigation +bind -n M-h select-pane -L +bind -n M-j select-pane -D +bind -n M-k select-pane -U +bind -n M-l select-pane -R +bind -n M-Left select-pane -L +bind -n M-Down select-pane -D +bind -n M-Up select-pane -U +bind -n M-Right select-pane -R + +# Pane resize +bind -n M-S-Left resize-pane -L 5 +bind -n M-S-Down resize-pane -D 3 +bind -n M-S-Up resize-pane -U 3 +bind -n M-S-Right resize-pane -R 5