Thanks I will take a look. I was just wondering if it was possible at all but having some code to look at is even better! About fuzzy search, basically I want to have something like
https://github.com/junegunn/fzf for file opening. It is a popular little program but apparently doesn't work quite as well on Windows, as it does on Linux.