From 3c34201077713895dbc57b7f6cfd08b97f30e8e1 Mon Sep 17 00:00:00 2001 From: Adam Goldsmith Date: Tue, 20 Nov 2018 11:59:08 -0500 Subject: [PATCH] Add nm bindings for next/prev line with j/k --- .emacs.d/init.el | 14 +++++++++++++- 1 file changed, 13 insertions(+), 1 deletion(-) diff --git a/.emacs.d/init.el b/.emacs.d/init.el index 0a56f66..3d5f8fb 100644 --- a/.emacs.d/init.el +++ b/.emacs.d/init.el @@ -709,12 +709,24 @@ :config (js2r-add-keybindings-with-prefix "C-c C-m"))) +(use-package nodejs-repl + :bind* (:map js2-mode-map + ("C-x C-e" . nodejs-repl-send-last-expression) + ("C-c C-r" . nodejs-repl-send-region) + ("C-c C-l" . nodejs-repl-load-file) + ("C-c C-z" . nodejs-repl-switch-to-repl) + ("C-c C-c" . nodejs-repl-send-buffer)) + :config + (unbind-key "C-c C-c" tern-mode-keymap)) + (use-package nm :quelpa (nm :fetcher github :repo "ad1217/nevermore" :branch "fix-deleted") :bind (:map nm-mode-map ("n" . nm-read) ("s" . nm-spam) - ("G" . nm-update-remote)) + ("G" . nm-update-remote) + ("j" . next-line) + ("k" . previous-line)) :config (defun nm-tag-and-next (tags) "Apply some changes to a message, then move to the next line"