Split rest of home-manager config
This commit is contained in:
parent
b7e2ecbd46
commit
e1edfe1edc
12 changed files with 344 additions and 291 deletions
15
users/functionalhacker/fzf.nix
Normal file
15
users/functionalhacker/fzf.nix
Normal file
|
@ -0,0 +1,15 @@
|
|||
{ ... }:
|
||||
|
||||
{
|
||||
programs.fzf = {
|
||||
enable = true;
|
||||
enableZshIntegration = true;
|
||||
defaultCommand = "fd -Hlt f";
|
||||
defaultOptions = [ "-m --ansi --bind ctrl-a:toggle-all,ctrl-d:deselect-all,ctrl-t:toggle-all" ];
|
||||
fileWidgetCommand = "fd -Hlt f --strip-cwd-prefix";
|
||||
fileWidgetOptions = [ "--preview 'bat --color=always --style=numbers --line-range=:500 {}" ];
|
||||
changeDirWidgetCommand = "fd -Hlt d";
|
||||
changeDirWidgetOptions = [ "--preview 'eza -l {}'" ];
|
||||
};
|
||||
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue