diff --git a/.emacs.d/init.el b/.emacs.d/init.el index 170ab3a..3161c37 100644 --- a/.emacs.d/init.el +++ b/.emacs.d/init.el @@ -716,7 +716,11 @@ (use-package js2-mode :mode "\\.js\\'" :config - (setq js2-basic-offset 2)) + (setq js2-basic-offset 2) + (use-package js2-refactor + :hook (js2-mode . js2-refactor-mode) + :config + (js2r-add-keybindings-with-prefix "C-c C-m"))) (use-package nm :quelpa (nm :fetcher github :repo "ad1217/nevermore" :branch "fix-deleted")