(setq js2-mode-show-parse-errors nil)
(setq js2-mode-show-strict-warnings nil)
(setq js--declaration-keyword-re "x^") ; declarations should have normal indentation
+(require 'js2-refactor)
+(add-hook 'js2-mode-hook #'js2-refactor-mode)
+(js2r-add-keybindings-with-prefix "C-c C-m")
+(setq js2r-always-insert-parens-around-arrow-function-params t)
+(setq js2r-prefered-quote-type 2)
(when (require 'tern nil 'noerror)
(add-hook 'js2-mode-hook (lambda () (tern-mode t))))
(when (require 'stumpwm-mode nil 'noerror)
(add-to-list 'auto-mode-alist '("/\\.stumpwmrc\\'" . stumpwm-mode)))
+(require 'wgrep)
+(setq wgrep-auto-save-buffer t)
+
(require 'yaml-mode)