diff options
author | Bozhidar Batsov <bozhidar@batsov.com> | 2017-12-19 20:27:19 +0200 |
---|---|---|
committer | Bozhidar Batsov <bozhidar@batsov.com> | 2017-12-19 20:27:19 +0200 |
commit | 677ec20a6c300e33686526175325dc7dafee7953 (patch) | |
tree | d31db023d543633ee3747ec333b19a1440b9b337 /cider-mode.el | |
parent | 0eaeaf40e358686011b4502eeca7c4a768d93aa3 (diff) |
[Fix #2112] Add a new interactive command cider-find-keyword
It basically finds the first usage of the namespace-qualified keywords.
For `::other.namespace/foo` this command would go to `other.namespace`
and then find the first mention of `:foo` in it.
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 b8ec032a..d01970a5 100644 --- a/cider-mode.el +++ b/cider-mode.el @@ -269,6 +269,7 @@ Configure `cider-cljs-*-repl' to change the ClojureScript REPL to use for your b ("Find (jump to)" ["Find definition" cider-find-var] ["Find resource" cider-find-resource] + ["Find keyword" cider-find-keyword] ["Go back" cider-pop-back]) ("Macroexpand" ["Macroexpand-1" cider-macroexpand-1] @@ -301,6 +302,7 @@ Configure `cider-cljs-*-repl' to change the ClojureScript REPL to use for your b (define-key map (kbd "C-c C-d") 'cider-doc-map) (define-key map (kbd "M-.") #'cider-find-var) (define-key map (kbd "C-c C-.") #'cider-find-ns) + (define-key map (kbd "C-c C-:") #'cider-find-keyword) (define-key map (kbd "M-,") #'cider-pop-back) (define-key map (kbd "C-c M-.") #'cider-find-resource) (define-key map (kbd "M-TAB") #'complete-symbol) |