Windows Registry Editor Version 5.00

[HKEY_CLASSES_ROOT\*\shell\OpenWithVim]
@="Open with Vim (WSL)"

[HKEY_CLASSES_ROOT\*\shell\OpenWithVim\command]
@="C:\\Windows\\System32\\bash.exe -c \"vim $(lower=$(echo \"%1\"  |  sed 's/\\\\/\\//g' | sed 's/://') && echo /mnt/${lower,})\""

