This commit is contained in:
Hadi
2024-03-13 21:38:55 +01:00
parent a1f05792e4
commit 3fe2c8913f
9 changed files with 207 additions and 57 deletions

24
home/lf/default.nix Normal file
View File

@@ -0,0 +1,24 @@
{ pkgs, config, ... }: {
home.packages = with pkgs; [ pistol ];
programs.lf = {
enable = true;
keybindings = {
# I find x to be a better cut, and save d for delete
d = "delete";
x = "cut";
"<enter>" = "open";
"<c-g>" = "quit";
"<esc>" = "quit";
};
previewer.source = "${pkgs.pistol}/bin/pistol";
extraConfig = ''
set hidden
set nodirfirst
set incsearch
'';
};
}