Add nm bindings for next/prev line with j/k

This commit is contained in:
Adam Goldsmith 2018-11-20 11:59:08 -05:00
parent 9719dd00de
commit 3c34201077

View File

@ -709,12 +709,24 @@
:config :config
(js2r-add-keybindings-with-prefix "C-c C-m"))) (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 (use-package nm
:quelpa (nm :fetcher github :repo "ad1217/nevermore" :branch "fix-deleted") :quelpa (nm :fetcher github :repo "ad1217/nevermore" :branch "fix-deleted")
:bind (:map nm-mode-map :bind (:map nm-mode-map
("n" . nm-read) ("n" . nm-read)
("s" . nm-spam) ("s" . nm-spam)
("G" . nm-update-remote)) ("G" . nm-update-remote)
("j" . next-line)
("k" . previous-line))
:config :config
(defun nm-tag-and-next (tags) (defun nm-tag-and-next (tags)
"Apply some changes to a message, then move to the next line" "Apply some changes to a message, then move to the next line"