all repos — nixfiles @ d0a0a298e07beeb36c9d8959b6f8a9eabcd02d38

System and user configuration, managed by nix and home-manager

Emacs: bind js2-refactor's kill command

Alan Pearce
commit

d0a0a298e07beeb36c9d8959b6f8a9eabcd02d38

parent

d82a74c3da50200a7868022c86e11080235e3272

1 file changed, 2 insertions(+), 0 deletions(-)

jump to
M emacs/.emacs.d/init.orgemacs/.emacs.d/init.org
@@ -1992,7 +1992,9 @@ library implements some refactorings.
#+BEGIN_SRC emacs-lisp (use-package js2-refactor + :after js2-mode :config (progn + (bind-key "C-k" #'js2r-kill js2-mode-map) (add-hook 'js2-mode-hook #'js2-refactor-mode) (js2r-add-keybindings-with-prefix "C-c C-m"))) #+END_SRC