use tmux-githop

This commit is contained in:
Callum Leslie 2025-09-16 10:37:17 +01:00
parent fedd077861
commit bb08fe63c6
Signed by: cleslie
GPG key ID: 5A944DF89B6F65AC
2 changed files with 6 additions and 7 deletions

View file

@ -4,9 +4,9 @@
...
}: let
getProgFor = cLib.getProgFor pkgs;
getProgFor' = cLib.getProgFor' pkgs;
tmux = getProgFor "tmux";
tmux-sessionizer = getProgFor' "tmux-sessionizer-cl" "tmux-sessionizer";
getProgFor' = cLib.getProgFor pkgs.scenics;
tmux-githop = getProgFor' "tmux-githop";
in {
programs.tmux = {
enable = true;
@ -51,8 +51,8 @@ in {
bind \\ split-window -v -c "#{pane_current_path}"
bind c new-window -c "#{pane_current_path}"
bind-key -r s run-shell "${tmux} display-popup -E '${tmux-sessionizer} -s'"
bind-key -r f run-shell "${tmux} display-popup -E '${tmux-sessionizer} -p'"
bind-key -r s run-shell "${tmux} display-popup -E '${tmux-githop} -s -y'"
bind-key -r f run-shell "${tmux} display-popup -E '${tmux-githop} -p -y'"
bind-key -r m run-shell "${tmux} switch-client -t main"
bind S choose-tree