Created
February 27, 2019 11:15
-
-
Save jackrusher/ed09f0d3d4e47e65af7790392427bcfa to your computer and use it in GitHub Desktop.
I like to have an emacs keybinding to refresh the frontmost Chrome window.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
(global-set-key (kbd "<F12>") | |
(lambda () | |
(shell-command "refresh-chrome"))) |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/osascript | |
tell application "Chrome" to tell the active tab of its first window | |
reload | |
end tell |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment