From 5e39cccd34385dc4ee19e6a16daeb682d8039e42 Mon Sep 17 00:00:00 2001 From: Oliver Davies Date: Wed, 26 Mar 2025 00:00:00 +0000 Subject: [PATCH] Open TODO.md if it exists in the current directory --- nix/modules/home-manager/cli/tmux.nix | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/nix/modules/home-manager/cli/tmux.nix b/nix/modules/home-manager/cli/tmux.nix index b785d077..3cb8444a 100644 --- a/nix/modules/home-manager/cli/tmux.nix +++ b/nix/modules/home-manager/cli/tmux.nix @@ -82,8 +82,8 @@ in bind-key -r f run-shell "tmux new-window tmux-sessionizer" + bind-key -r D new-window -c "#{pane_current_path}" "[[ -e TODO.md ]] && nvim TODO.md || nvim ~/Documents/wiki/todo.txt" 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'" '';