Add js2-refactor keybindings
This commit is contained in:
parent
3cc994d2cb
commit
d5c07e813e
1 changed files with 3 additions and 0 deletions
|
@ -25,6 +25,7 @@
|
||||||
;;; Code:
|
;;; Code:
|
||||||
|
|
||||||
(require 'js2-mode)
|
(require 'js2-mode)
|
||||||
|
(require 'js2-refactor)
|
||||||
|
|
||||||
(setq js2-strict-trailing-comma-warning nil)
|
(setq js2-strict-trailing-comma-warning nil)
|
||||||
(setq js2-basic-offset 2)
|
(setq js2-basic-offset 2)
|
||||||
|
@ -39,5 +40,7 @@
|
||||||
(add-hook 'js2-mode-hook 'fic-mode)
|
(add-hook 'js2-mode-hook 'fic-mode)
|
||||||
(add-hook 'js2-mode-hook 'whitespace-only-tabs-mode)
|
(add-hook 'js2-mode-hook 'whitespace-only-tabs-mode)
|
||||||
|
|
||||||
|
(js2r-add-keybindings-with-prefix "C-c r")
|
||||||
|
|
||||||
(provide 'oni-js2-init)
|
(provide 'oni-js2-init)
|
||||||
;;; oni-js2-init.el ends here
|
;;; oni-js2-init.el ends here
|
||||||
|
|
Loading…
Reference in a new issue