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
1 changed files with 13 additions and 1 deletions

View File

@ -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"