diff options
author | Alan Pearce | 2017-04-28 14:25:19 +0200 |
---|---|---|
committer | Alan Pearce | 2017-04-28 14:25:19 +0200 |
commit | d0a0a298e07beeb36c9d8959b6f8a9eabcd02d38 (patch) | |
tree | d41e9cc7e414d8161670e2ed201abd3aac6a107f /emacs | |
parent | d82a74c3da50200a7868022c86e11080235e3272 (diff) | |
download | nixfiles-d0a0a298e07beeb36c9d8959b6f8a9eabcd02d38.tar.lz nixfiles-d0a0a298e07beeb36c9d8959b6f8a9eabcd02d38.tar.zst nixfiles-d0a0a298e07beeb36c9d8959b6f8a9eabcd02d38.zip |
Emacs: bind js2-refactor's kill command
Diffstat (limited to 'emacs')
-rw-r--r-- | emacs/.emacs.d/init.org | 2 |
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 |