This page is not created by, affiliated with, or supported by Slack Technologies, Inc.
2020-02-14
Channels
- # announcements (4)
- # aws (7)
- # babashka (44)
- # beginners (178)
- # calva (15)
- # cider (3)
- # clj-kondo (15)
- # clojure (139)
- # clojure-dev (8)
- # clojure-europe (2)
- # clojure-italy (2)
- # clojure-losangeles (9)
- # clojure-nl (32)
- # clojure-spec (6)
- # clojure-sweden (1)
- # clojure-uk (27)
- # clojurescript (17)
- # core-typed (116)
- # cursive (26)
- # data-science (1)
- # datomic (14)
- # duct (16)
- # emacs (9)
- # events (1)
- # fulcro (47)
- # jobs (3)
- # juxt (6)
- # keechma (2)
- # malli (59)
- # mid-cities-meetup (8)
- # off-topic (32)
- # pathom (5)
- # reagent (2)
- # remote-jobs (4)
- # rewrite-clj (16)
- # shadow-cljs (14)
- # spacemacs (9)
- # sql (27)
- # tools-deps (37)
- # vscode (7)
does anyone know what ivy uses for CIDER commands, i.e. when you press in ,
in cider repl buffer, I want things to be sorted, but I don’t know what key to use in ivy-re-builders-alist
@ag I assume ivy
by default just displays the collections without reordering them. Probably the shortcut commands are not sorted internally.
nah… I think when I was using Helm it was fine (?) I don’t really remember now. But this is bugging me. For example I start typing cle
and it shows:
clear-help-banner
clear-banners
clear
clear-output
what the heck? clearly, clear
option, should be the first thing in the listyup, that’s totally on Ivy
’s side. When I have this: (setq ivy-re-builders-alist '((t . ivy--regex-fuzzy)))
- it works as expected. The problem with that - it affects every Ivy popup: counsel, swiper, counsel-M-x, etc. And I don’t like that.
Currently I have it like this:
(setq ivy-re-builders-alist '((counsel-projectile-find-file . ivy--regex-fuzzy)
(counsel-projectile-find-dir . ivy--regex-fuzzy)
(ivy-switch-buffer . ivy--regex-fuzzy)
(t . ivy--regex-plus)))
and this works for me. But I can’t figure out which one drives cider-repl shortcuts