From 6236f20202bbdb40cfcb3e41f4c378cad6d2af31 Mon Sep 17 00:00:00 2001 From: Oliver Davies Date: Mon, 27 Oct 2025 08:00:00 +0000 Subject: [PATCH] Add keybinding to run `open-repo-url` --- modules/tmux/extra-config.nix | 1 + modules/zsh/init.nix | 1 + 2 files changed, 2 insertions(+) diff --git a/modules/tmux/extra-config.nix b/modules/tmux/extra-config.nix index 5f4cd87e..5a16ed63 100644 --- a/modules/tmux/extra-config.nix +++ b/modules/tmux/extra-config.nix @@ -62,6 +62,7 @@ bind l select-pane -R bind-key -r f run-shell "tmux new-window start-tmux" + bind-key -r g run-shell "tmux new-window open-repo-url" bind-key -r D new-window -c "#{pane_current_path}" "[[ -e TODO.md ]] && nvim TODO.md || nvim ~/Documents/notes/todo.txt" bind-key -r W split-window -h -c ~/Documents/notes "nvim '+Telescope find_files'" diff --git a/modules/zsh/init.nix b/modules/zsh/init.nix index 74ee2606..0ae67e71 100644 --- a/modules/zsh/init.nix +++ b/modules/zsh/init.nix @@ -56,6 +56,7 @@ } bindkey -s ^f "start-tmux\n" + bindkey -s ^g "open-repo-url\n" bindkey -s ^v "nvim\n" setopt auto_cd