Is there a keyboard shortcut to enable/disable hidden files in Finder?
Actually, there is a keyboard shortcut you can use in macOS High Sierra. More specifically, you can use command + shift + ..

In case that last key isn’t clear, it’s a period (aka full stop).