mirror of
https://github.com/doomemacs/doomemacs
synced 2025-08-19 13:43:36 -05:00
Refresh browser on M-r in (sass|web)-mode
This commit is contained in:
@@ -14,5 +14,10 @@
|
||||
"<a href=\"\\1\">\\1</a>"
|
||||
nil beg end))
|
||||
|
||||
;;;###autoload
|
||||
(defun narf/web-refresh-browser ()
|
||||
(interactive)
|
||||
(call-process-shell-command "osascript -e 'tell application \"Google Chrome\" to tell the active tab of its first window to reload' &" nil 0))
|
||||
|
||||
(provide 'defuns-web)
|
||||
;;; defuns-web.el ends here
|
||||
|
Reference in New Issue
Block a user