summary refs log tree commit diff stats
diff options
context:
space:
mode:
authorAlan Pearce2017-04-28 14:25:19 +0200
committerAlan Pearce2017-04-28 14:25:19 +0200
commitd0a0a298e07beeb36c9d8959b6f8a9eabcd02d38 (patch)
treed41e9cc7e414d8161670e2ed201abd3aac6a107f
parentd82a74c3da50200a7868022c86e11080235e3272 (diff)
downloadnixfiles-d0a0a298e07beeb36c9d8959b6f8a9eabcd02d38.tar.lz
nixfiles-d0a0a298e07beeb36c9d8959b6f8a9eabcd02d38.tar.zst
nixfiles-d0a0a298e07beeb36c9d8959b6f8a9eabcd02d38.zip
Emacs: bind js2-refactor's kill command
-rw-r--r--emacs/.emacs.d/init.org2
1 files changed, 2 insertions, 0 deletions
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