How do I move my user preferences (Options) to a new machine?

In the Unity editor I’ve set a bunch of hotkeys (Options > Environment > Keyboard), rearranged my editor windows, and set preferences for code formatting, what kind of tab spacing to use, when to add line breaks etc. I’m moving to a new computer - is there a way to backup all my Unity preferences and restore them on the new machine?

In Windows, just backup the folder:


Sorry, I was talking about Visual Studio, and I found those options can be moved using Tools > Import and Export Settings.

The Unity editor settings (hotkeys, colors, launch options) are under Edit > Preferences, but I can’t find a way to backup/restore them. Luckily not as many options to reproduce there so I’ll do it manually. It was the Visual Studio options which were more daunting to recreate.