File tree Expand file tree Collapse file tree 2 files changed +24
-0
lines changed
doc/modules/ROOT/pages/usage Expand file tree Collapse file tree 2 files changed +24
-0
lines changed Original file line number Diff line number Diff line change @@ -470,6 +470,10 @@ If invoked with a prefix ARG eval the expression after inserting it."
470470(declare-function cider-find-keyword " cider-find" )
471471(declare-function cider-find-var " cider-find" )
472472(declare-function cider-find-dwim-at-mouse " cider-find" )
473+ (declare-function cider-xref-fn-refs " cider-xref" )
474+ (declare-function cider-xref-fn-refs-select " cider-xref" )
475+ (declare-function cider-xref-fn-deps " cider-xref" )
476+ (declare-function cider-xref-fn-deps-select " cider-xref" )
473477
474478(defconst cider--has-many-mouse-buttons (not (memq window-system '(mac ns)))
475479 " Non-nil if system binds forward and back buttons to <mouse-8> and <mouse-9>.
@@ -519,6 +523,10 @@ As it stands Emacs fires these events on <mouse-8> and <mouse-9> on 'x' and
519523 (define-key map (kbd " C-c M-s" ) #'cider-selector )
520524 (define-key map (kbd " C-c M-d" ) #'cider-describe-connection )
521525 (define-key map (kbd " C-c C-=" ) 'cider-profile-map )
526+ (define-key map (kbd " C-c C-? r" ) #'cider-xref-fn-refs )
527+ (define-key map (kbd " C-c C-? C-r" ) #'cider-xref-fn-refs-select )
528+ (define-key map (kbd " C-c C-? d" ) #'cider-xref-fn-deps )
529+ (define-key map (kbd " C-c C-? C-d" ) #'cider-xref-fn-deps-select )
522530 (define-key map (kbd " C-c C-q" ) #'cider-quit )
523531 (define-key map (kbd " C-c M-r" ) #'cider-restart )
524532 (dolist (variable '(cider-mode-interactions-menu
Original file line number Diff line number Diff line change @@ -253,6 +253,22 @@ kbd:[C-c C-t C-b]
253253| kbd:[C-c C-.]
254254| Jump to some namespace on the classpath.
255255
256+ | `cider-xref-fn-refs`
257+ | kbd:[C-c C-? r]
258+ | Display function usages across loaded namespaces in a dedicated buffer.
259+
260+ | `cider-xref-fn-refs-select`
261+ | kbd:[C-c C-? C-r]
262+ | Display function usages across loaded namespaces in a minibuffer selector.
263+
264+ | `cider-xref-fn-deps`
265+ | kbd:[C-c C-? d]
266+ | Display function deps (other functions used by it) in a dedicated buffer.
267+
268+ | `cider-xref-fn-deps-select`
269+ | kbd:[C-c C-? C-d]
270+ | Display function deps (other functions used by it) in a minibuffer selector.
271+
256272| `cider-pop-back`
257273| kbd:[M-,]
258274| Return to your pre-jump location.
You can’t perform that action at this time.
0 commit comments