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