Permalink
Browse files

Support skewer-mode for javascript browser interaction

  • Loading branch information...
1 parent 54a9c42 commit 4a54af48acea8ec8327931ff254b48d45b44e78c @purcell committed Mar 11, 2013
Showing with 7 additions and 0 deletions.
  1. +7 −0 init-javascript.el
View
@@ -90,5 +90,12 @@
(dolist (hook '(js2-mode-hook js3-mode-hook js-mode-hook))
(add-hook hook 'inferior-js-keys-mode))
+;; ---------------------------------------------------------------------------
+;; Alternatively, use skewer-mode
+;; ---------------------------------------------------------------------------
+
+(require-package 'skewer-mode)
+(add-hook 'skewer-mode-hook (lambda () (inferior-js-keys-mode -1)))
+
(provide 'init-javascript)

0 comments on commit 4a54af4

Please sign in to comment.