PatrickF1 / fzf.fish

🔍🐟 Fzf plugin for Fish
MIT License
1.96k stars 78 forks source link

Make instructions to open file in editor clearer #273

Closed jjant closed 1 year ago

jjant commented 1 year ago

Description

It took me a while to understand how to actually set up a binding to open the selected file from the linked issue in the readme, so I thought it'd be clearer to show an example with the actual code that will do it.

PatrickF1 commented 1 year ago

Hi @jjant, thanks for opening up this PR! The readme is more for documentation and the cookbook is more for implementing customizations. Do you mind if I copy your example/code into the Cookbook instead?

PatrickF1 commented 1 year ago

Ah I did have it in the Wiki but in the Troubleshooting instead of Cookbook, where it fits better. My bad! I added it here https://github.com/PatrickF1/fzf.fish/wiki/Cookbook#how-can-i-configure-search-directory-to-open-up-the-current-file-in-editor.

jjant commented 1 year ago

@PatrickF1 Thanks for taking a look at the PR! I hadn't seen the cookbook (tho admittedly, GH wikis are not that discoverable 😅).