From d0a0a298e07beeb36c9d8959b6f8a9eabcd02d38 Mon Sep 17 00:00:00 2001 From: Alan Pearce Date: Fri, 28 Apr 2017 14:25:19 +0200 Subject: Emacs: bind js2-refactor's kill command --- emacs/.emacs.d/init.org | 2 ++ 1 file changed, 2 insertions(+) (limited to 'emacs') diff --git a/emacs/.emacs.d/init.org b/emacs/.emacs.d/init.org index 9b39b279..cd705243 100644 --- a/emacs/.emacs.d/init.org +++ b/emacs/.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 -- cgit 1.4.1