feat(home:fish): add nvim telescope binding

This commit is contained in:
ooks-io 2024-08-02 21:13:05 +12:00
parent 803ecd462d
commit 17e2ecccdd

View file

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