lf settings
This commit is contained in:
@@ -1,15 +1,25 @@
|
|||||||
{
|
{
|
||||||
flake.modules.homeManager.files = { pkgs, ... }:
|
flake.modules.homeManager.files = { pkgs, lib, ... }:
|
||||||
{
|
{
|
||||||
programs.lf.enable = true;
|
programs.lf = {
|
||||||
programs.lf.cmdKeybindings = {
|
enable = true;
|
||||||
|
cmdKeybindings = {
|
||||||
"D" = "delete";
|
"D" = "delete";
|
||||||
};
|
};
|
||||||
|
settings = {
|
||||||
|
preview = true;
|
||||||
|
hidden = true;
|
||||||
|
drawbox = true;
|
||||||
|
icons = true;
|
||||||
|
ignorecase = true;
|
||||||
|
};
|
||||||
|
};
|
||||||
|
|
||||||
home.packages = with pkgs; [
|
home.packages = with pkgs; [
|
||||||
gdu
|
gdu
|
||||||
lf
|
# (writeShellScriptBin "lfcd" ''
|
||||||
# TODO: find a CLI file editor that's not insane
|
# . <(${lib.getExe pkgs.lf} -print-last-dir | sed 's/^/cd /')
|
||||||
|
# '')
|
||||||
];
|
];
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
Reference in New Issue
Block a user