Fixes to FZF and ZSH configuration
This commit is contained in:
parent
37656a1c6b
commit
f0daaba8a7
2 changed files with 11 additions and 8 deletions
|
@ -4,12 +4,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";
|
||||
defaultCommand = "fd -Ht f";
|
||||
defaultOptions = [
|
||||
"-m"
|
||||
"--ansi"
|
||||
"--bind ctrl-a:toggle-all,ctrl-d:deselect-all,ctrl-t:toggle-all"
|
||||
];
|
||||
fileWidgetCommand = "fd -Ht f --strip-cwd-prefix";
|
||||
fileWidgetOptions = [ "--preview 'bat --color=always --style=numbers --line-range=:500 {}'" ];
|
||||
changeDirWidgetCommand = "fd -Ht d";
|
||||
changeDirWidgetOptions = [ "--preview 'eza -l {}'" ];
|
||||
};
|
||||
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue