|
Hello, really nice plugin you got here! I keep all my configs synced via git, which is why I don't like to configure something using fish's universal vars. Do you think a way to configure using a file might be possible? I'd actually prefer it if this plugin wouldn't map any bindings and just included an example config to add yourself. Another option for me would be to change the Ctrl+l binding to Ctrl+g to not interfere with the "clear" binding which is ctrl+l quite often. But that doesn't seem as long-lasting as adding a configuration option. |
Replies: 5 comments
|
Hi Jannis! Just to be clear, what you want is to disable the default keybindings in your For what it's worth by the way, the other fzf plugin has the same problem: https://github.com/jethrokuan/fzf#usage. Notice the instructions say to disable default keybindings using universal variables. |
|
Hi again @jeyj0 , I have done more research and it seems it is currently impossible for conf.d scripts to execute AFTER config.fish. I was afraid of this. I am getting this from https://fishshell.com/docs/current/#initialization-files, which lists |
|
Ok after more research there is a hack that is possible via erasing the key bindings with an event trigger on Instead, here are two possibilities for those who want to check in setting
|
|
Hi Patrick, thanks for all your efforts! I didn't know it's that easy to simply check-in universal variables in fish. That actually solves the issue for me already. Thanks again for all this effort though! |
|
@jeyj0 With https://github.com/PatrickF1/fzf.fish/releases/tag/v7.0, custom key bindings have now been overhauled so you can check in a function call to your config.fish without using universal variables (which don't belong in your config.fish). |
@jeyj0 With https://github.com/PatrickF1/fzf.fish/releases/tag/v7.0, custom key bindings have now been overhauled so you can check in a function call to your config.fish without using universal variables (which don't belong in your config.fish).