diff options
Diffstat (limited to 'modules/terminal/system/programs/broot.nix')
| -rw-r--r-- | modules/terminal/system/programs/broot.nix | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/modules/terminal/system/programs/broot.nix b/modules/terminal/system/programs/broot.nix index ed86822..d36a5e5 100644 --- a/modules/terminal/system/programs/broot.nix +++ b/modules/terminal/system/programs/broot.nix @@ -10,9 +10,11 @@ conf = toml'.generate "conf.toml" { verbs = [ { - invocation = "edit"; + name = "open-code"; key = "enter"; - execution = "${pkgs.helix}/bin/hx {file}"; + execution = "$EDITOR +{line} {file}"; + working_dir = "{root}"; + leave_broot = true; } ]; }; |
