From 6d1ee89372f8e4a0fb93a20462d8a1284b3b80a1 Mon Sep 17 00:00:00 2001 From: Henrik Lissner Date: Fri, 31 Jul 2015 18:45:33 +0200 Subject: [PATCH] M-r refreshes chrome in web-mode --- modules/module-web.el | 2 ++ 1 file changed, 2 insertions(+) diff --git a/modules/module-web.el b/modules/module-web.el index 9d310414e..824e9e9f0 100644 --- a/modules/module-web.el +++ b/modules/module-web.el @@ -50,6 +50,8 @@ :n "za" 'web-mode-fold-or-unfold :n ",t" 'web-mode-element-rename + :n "M-r" (λ (call-process-shell-command "osascript -e 'tell application \"Google Chrome\" to tell the active tab of its first window to reload' &" nil 0)) + :nv "]a" 'web-mode-attribute-next :nv "[a" 'web-mode-attribute-previous :nv "]t" 'web-mode-tag-next