I like having my IDE on left screen and browser on the right one. Whenever I want to refresh page in the browser, I need to move hand from keyboard to mouse. In my previous setup on Fedora I was able to setup a keyboard shortcuts ctrl+1 and ctrl+2 to focus on the topmost window of appropriate monitor. I feel like this is a very basic task, but I didn't find any solutions. I even read this question:
Keyboard shorcut to switch focus between multiple displays on OS X 10.9.5 + (mavericks, el capitan, sierra)
but it proposes a workaround instead of an actual keyboard shortcut to switch focus. Is there any solution? I am able to buy an app from AppStore if there is one for this purpose, but I would like to avoid non-AppStore apps.