Posted By

ChrisKempson on 01/14/11


Tagged

safari refresh vim


Versions (?)

Vim Refresh Safari Mapping


 / Published in: Other
 

Place this in your .vimrc and change `r to the mapping of your choice!

  1. nmap `r :!osascript -e 'tell app "Safari"' -e 'activate' -e 'do JavaScript "window.location.reload();" in first document' -e 'end tell'<cr><cr>

Report this snippet  

You need to login to post a comment.