lf settings

This commit is contained in:
John Lancaster
2026-04-05 11:02:37 -05:00
parent 151512a071
commit bf9c3c2597
+16 -6
View File
@@ -1,15 +1,25 @@
{
flake.modules.homeManager.files = { pkgs, ... }:
flake.modules.homeManager.files = { pkgs, lib, ... }:
{
programs.lf.enable = true;
programs.lf.cmdKeybindings = {
"D" = "delete";
programs.lf = {
enable = true;
cmdKeybindings = {
"D" = "delete";
};
settings = {
preview = true;
hidden = true;
drawbox = true;
icons = true;
ignorecase = true;
};
};
home.packages = with pkgs; [
gdu
lf
# TODO: find a CLI file editor that's not insane
# (writeShellScriptBin "lfcd" ''
# . <(${lib.getExe pkgs.lf} -print-last-dir | sed 's/^/cd /')
# '')
];
};
}