Add js2-refactor keybindings

This commit is contained in:
Tom Willemse 2018-07-09 20:00:59 -07:00
parent 3cc994d2cb
commit d5c07e813e

View file

@ -25,6 +25,7 @@
;;; Code:
(require 'js2-mode)
(require 'js2-refactor)
(setq js2-strict-trailing-comma-warning nil)
(setq js2-basic-offset 2)
@ -39,5 +40,7 @@
(add-hook 'js2-mode-hook 'fic-mode)
(add-hook 'js2-mode-hook 'whitespace-only-tabs-mode)
(js2r-add-keybindings-with-prefix "C-c r")
(provide 'oni-js2-init)
;;; oni-js2-init.el ends here