From 37f0cf7b4fe5400a923af52dfa23af99d9e638c0 Mon Sep 17 00:00:00 2001 From: Constantin Simonis Date: Mon, 16 Jun 2025 11:43:24 +0200 Subject: [PATCH] chore(tmux): reorganize keybindings and config loading --- .config/tmux/tmux.conf | 4 ---- .config/tmux/tmux.conf.d/keybinds.conf | 6 ++++-- 2 files changed, 4 insertions(+), 6 deletions(-) diff --git a/.config/tmux/tmux.conf b/.config/tmux/tmux.conf index 46a6c33..9312d71 100644 --- a/.config/tmux/tmux.conf +++ b/.config/tmux/tmux.conf @@ -1,6 +1,2 @@ -bind r source-file ~/.tmux.conf \; display "Reloaded tmux config"; - -set -g prefix C-y - source-file ~/.config/tmux/tmux.conf.d/plugins.conf source-file ~/.config/tmux/tmux.conf.d/keybinds.conf diff --git a/.config/tmux/tmux.conf.d/keybinds.conf b/.config/tmux/tmux.conf.d/keybinds.conf index d6444d0..a0a3a7f 100644 --- a/.config/tmux/tmux.conf.d/keybinds.conf +++ b/.config/tmux/tmux.conf.d/keybinds.conf @@ -1,7 +1,9 @@ +set -g prefix C-y +bind-key r source-file ~/.tmux.conf \; display "Reloaded tmux config"; bind-key c detach +bind-key f set-option -g mouse \; display-message 'Mouse #{?mouse,on,off}' + bind-key a previous-window bind-key d next-window bind-key n new-window - -bind-key f set-option -g mouse \; display-message 'Mouse #{?mouse,on,off}' \ No newline at end of file