fish: move fzf configuration to nix
1 file changed, 17 insertions(+), 1 deletion(-)
changed files
M user/settings/shell.nix → user/settings/shell.nix
@@ -147,6 +147,22 @@ }; }; home.packages = with pkgs; [ personal.dirstat-rs - fzf ]; + programs.fzf = { + enable = true; + defaultOptions = [ + "--cycle" + "--layout=reverse" + "--border" + "--height=90%" + "--preview-window=wrap" + "--marker='*'" + ]; + fileWidgetCommand = ""; + enableFishIntegration = true; + }; + programs.fish.interactiveShellInit = lib.mkOrder 201 '' + fzf_configure_bindings --directory=\cx\cf + bind alt-s __ghq_repository_search + ''; }