I've found that saving code, and refreshing the browser, then going back to code, then going back to the browser, is a terribly inefficient practice and horrible for flow. If you're finding yourself having to do this so often as to require a vim hack, you're doing something wrong.
Something like autotest for ruby projects, and cucumber / selenium etc should be making sure your code does what it is supposed to.