diff options
author | Phillip Lord <phillip.lord@russet.org.uk> | 2016-01-31 17:52:05 +0000 |
---|---|---|
committer | Phillip Lord <phillip.lord@russet.org.uk> | 2016-02-01 17:21:46 +0000 |
commit | c22f883d93b71f4c620e07c3ebbd7803c40a3b9d (patch) | |
tree | 1298c5d195fc24bf56802acf96dd52eabaa4e3ea /cider-mode.el | |
parent | aeb9651bf7f6d7568703d4c123566b3f9ad55b7d (diff) |
Add `eval-defun-to-comment` command
Diffstat (limited to 'cider-mode.el')
-rw-r--r-- | cider-mode.el | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/cider-mode.el b/cider-mode.el index 9905fd0d..b715939b 100644 --- a/cider-mode.el +++ b/cider-mode.el @@ -185,6 +185,7 @@ Returns to the buffer in which the command was invoked." (define-key map (kbd "C-x C-e") #'cider-eval-last-sexp) (define-key map (kbd "C-c C-e") #'cider-eval-last-sexp) (define-key map (kbd "C-c C-w") #'cider-eval-last-sexp-and-replace) + (define-key map (kbd "C-c M-;") #'cider-eval-defun-to-comment) (define-key map (kbd "C-c M-e") #'cider-eval-last-sexp-to-repl) (define-key map (kbd "C-c M-p") #'cider-insert-last-sexp-in-repl) (define-key map (kbd "C-c C-p") #'cider-pprint-eval-last-sexp) @@ -227,6 +228,7 @@ Returns to the buffer in which the command was invoked." ["Eval last sexp in popup buffer" cider-pprint-eval-last-sexp] ["Eval last sexp to REPL buffer" cider-eval-last-sexp-to-repl] ["Eval last sexp and replace" cider-eval-last-sexp-and-replace] + ["Eval top-level sexp to comment" cider-eval-defun-to-comment] ["Eval region" cider-eval-region] ["Eval ns form" cider-eval-ns-form] ["Insert last sexp in REPL" cider-insert-last-sexp-in-repl] |