Add `fzf` config for fuzzy file finding

main
Bo Jeanes 2024-07-17 14:21:23 +10:00
parent 800235199b
commit 55b6c10f92
1 changed files with 6 additions and 0 deletions

View File

@ -276,6 +276,12 @@
];
};
programs.fzf.enable = true;
programs.fzf.enableZshIntegration = true;
programs.fzf.enableBashIntegration = true;
programs.fzf.fileWidgetOptions = [
"--preview '${pkgs.bat}/bin/bat --color=always --style=numbers --line-range :500 {}'"
];
home.packages = with pkgs; [
asdf