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.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 /')
|
||||
# '')
|
||||
];
|
||||
};
|
||||
}
|
||||
Reference in New Issue
Block a user