When installing Wine for Linux, the install script insists on associating all text files with its built-in notepad.exe
As someone who uses Vim almost exculsively, this is definitely not the desired behaviour.
To stop this from happening, run the following command before installing Wine.
1 |
|
This sets the path of the winemenubuilder library (the library that creates mimetype associations) to something invalid, preventing the associations from being made when Wine installs.
Once Wine is installed, it won't try to associate notepad.exe again. However, if needed, the library can be properly disabled via the libraries tab of wineconf.