From db3aa2fe32fb00a57f0be782c6a41f03589c0c3a Mon Sep 17 00:00:00 2001
From: Oliver Davies <oliver@oliverdavies.dev>
Date: Fri, 3 Jan 2025 02:04:56 +0000
Subject: [PATCH] Add tmux keybindings to open todo list and wiki

---
 nix/modules/home-manager/features/cli/tmux.nix | 5 +++--
 1 file changed, 3 insertions(+), 2 deletions(-)

diff --git a/nix/modules/home-manager/features/cli/tmux.nix b/nix/modules/home-manager/features/cli/tmux.nix
index 355ed3ba..be60161f 100644
--- a/nix/modules/home-manager/features/cli/tmux.nix
+++ b/nix/modules/home-manager/features/cli/tmux.nix
@@ -75,9 +75,10 @@ in
         set-option -g pane-border-style "fg=#1f2335"
 
         bind-key -r f run-shell "tmux new-window tmux-sessionizer"
-        bind-key -r N run-shell "tmux split-window -h notes"
 
-        if-shell "[ -f ~/.tmux.conf.local ]" 'source ~/.tmux.conf.local'
+        bind-key -r N split-window -h "notes"
+        bind-key -r T split-window -h -c ~/Documents/wiki "nvim todo.txt"
+        bind-key -r W split-window -h -c ~/Documents/wiki "nvim '+Telescope find_files'"
       '';
 
       plugins = [