From 17e2ecccdddcb04d7184720fe52f19e2d7e64a61 Mon Sep 17 00:00:00 2001 From: ooks-io Date: Fri, 2 Aug 2024 21:13:05 +1200 Subject: [PATCH] feat(home:fish): add nvim telescope binding --- home/modules/console/shell/fish/binds.nix | 12 +++++++----- 1 file changed, 7 insertions(+), 5 deletions(-) diff --git a/home/modules/console/shell/fish/binds.nix b/home/modules/console/shell/fish/binds.nix index b4dee6c..7a2ab7d 100644 --- a/home/modules/console/shell/fish/binds.nix +++ b/home/modules/console/shell/fish/binds.nix @@ -10,11 +10,13 @@ cfg = config.ooknet.shell.fish; in { config = mkIf (cfg.enable || admin.shell == "fish") { - programs.fish.functions = { - fish_user_key_bindings = '' - bind --preset -M insert \cf $EDITOR $FLAKE - bind --preset -M insert \ec fzf_cd_widget - ''; + programs.fish = { + functions = { + fish_user_key_bindings = '' + bind --preset -M insert \cf nvim '+Telescope find_files' $FLAKE + bind --preset -M insert \ec fzf_cd_widget + ''; + }; }; }; }