mirror of
https://github.com/callumio/nixfiles.git
synced 2025-12-17 11:39:19 +00:00
use tmux-githop
This commit is contained in:
parent
fedd077861
commit
bb08fe63c6
2 changed files with 6 additions and 7 deletions
|
|
@ -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
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue