all repos — nixfiles @ bbd1538c8cc7752ab79daee694834c8ba834f01e

System and user configuration, managed by nix and home-manager

fish: move fzf configuration to nix

Alan Pearce
commit

bbd1538c8cc7752ab79daee694834c8ba834f01e

parent

ed1e58a2774ec53fea74208ef60edbcb604c31e0

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 + ''; }