How to change editor to vim in mac os?

I’m not sure what you want us to add to the FAQ. Can you be a bit more specific?

Setting the editor is literally the 4th option in the preferences. As a macOS user you know that opening settings/preferences/options is Cmd + ,.