Skip to content

Commit 84b67f4

Browse files
committed
Restore the C-c C-p and C-c C-f keybindings
Seems more people were relying on those than I originally expected. :-) Vox populi, vox dei!
1 parent d37de60 commit 84b67f4

File tree

2 files changed

+4
-2
lines changed

2 files changed

+4
-2
lines changed

CHANGELOG.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -48,8 +48,8 @@
4848
* **(Breaking)** `cider-jack-in-clojurescript` now creates only a ClojureScript REPL (use `cider-jack-in-clj&cljs` to create both REPLs).
4949
* [#2357](https://github.com/clojure-emacs/cider/issues/2357): Support both keywords and strings as test selectors (previously it was only strings).
5050
* [#2378](https://github.com/clojure-emacs/cider/pull/2378): Add autoloads target to Makefile.
51-
* **(Breaking)** Move `cider-pprint-eval-last-sexp`, previously on `C-c C-p`, to `C-c C-v (C-)f (C-)e` in the `cider-eval-commands-map`.
52-
* **(Breaking)** Move `cider-pprint-eval-defun-at-point`, previously on `C-c C-f`, to `C-c C-v (C-)f (C-)d` in the `cider-eval-commands-map`.
51+
* Map `cider-pprint-eval-last-sexp` to `C-c C-v (C-)f (C-)e` in the `cider-eval-commands-map`.
52+
* Map `cider-pprint-eval-defun-at-point` to `C-c C-v (C-)f (C-)d` in the `cider-eval-commands-map`.
5353
* Accept bare figwheel-main build names (e.g., `dev`). Previously, a keyword (e.g., `:dev`) was required.
5454
* Stop releasing CIDER and cider-nrepl together. cider-nrepl now has its own release cycle and CIDER introduces `cider-required-middleware-version` to track it.
5555

cider-mode.el

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -470,6 +470,8 @@ As it stands Emacs fires these events on <mouse-8> and <mouse-9> on 'x' and
470470
(define-key map (kbd "C-c C-c") #'cider-eval-defun-at-point)
471471
(define-key map (kbd "C-x C-e") #'cider-eval-last-sexp)
472472
(define-key map (kbd "C-c C-e") #'cider-eval-last-sexp)
473+
(define-key map (kbd "C-c C-p") #'cider-pprint-eval-last-sexp)
474+
(define-key map (kbd "C-c C-f") #'cider-pprint-eval-defun-at-point)
473475
(define-key map (kbd "C-c C-v") 'cider-eval-commands-map)
474476
(define-key map (kbd "C-c C-j") 'cider-insert-commands-map)
475477
(define-key map (kbd "C-c M-;") #'cider-eval-defun-to-comment)

0 commit comments

Comments
 (0)