diff options
Diffstat (limited to 'home-manager')
-rw-r--r-- | home-manager/config/lf/default.nix | 25 |
1 files changed, 11 insertions, 14 deletions
diff --git a/home-manager/config/lf/default.nix b/home-manager/config/lf/default.nix index 21fc17e1..3cfe3b40 100644 --- a/home-manager/config/lf/default.nix +++ b/home-manager/config/lf/default.nix @@ -338,11 +338,10 @@ in { gt = "cd /tmp"; }; - # TODO add ctpv, if it gets merged - # previewer = { - # keybinding = "i"; - # source = pkgs.ctpv; - # }; + previewer = { + keybinding = "i"; + source = pkgs.ctpv; + }; settings = { # TODO this needs to be added to nixos: #autoquit = true; # quit the server, if no clients are left @@ -360,15 +359,13 @@ in { shellopts = "-eu"; # e: exit on error; u: error for unset variables }; # TODO remove auto quit, if it has been added - # TODO add ctpv, if it gets merged - extraConfig = - # &ctpv -s $id - # &ctpvquit $id - # set cleaner = {pkgs.ctpv} - '' - set autoquit = true - set dirpreviews = true - ''; + extraConfig = '' + &ctpv -s $id + &ctpvquit $id + set cleaner = {pkgs.ctpv} + set autoquit = true # close the server, after the last client exits + set dirpreviews = true # preview directories + ''; }; } # vim: ts=2 |