mirror of
https://codeberg.org/leana8959/.files.git
synced 2025-12-06 06:39:14 +00:00
hm: lazygit tmux integration
This commit is contained in:
parent
e524318c40
commit
3bde6d4dfb
3 changed files with 11 additions and 1 deletions
8
nix/homeModules/common/lazygit.nix
Normal file
8
nix/homeModules/common/lazygit.nix
Normal file
|
|
@ -0,0 +1,8 @@
|
|||
{config, lib, ...}: let
|
||||
cfg = config.programs.lazygit;
|
||||
in
|
||||
{
|
||||
programs.tmux.extraConfig = lib.mkIf cfg.enable ''
|
||||
bind -n C-g run-shell "tmux new-window ${lib.getExe cfg.package}"
|
||||
'';
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue