This page is not created by, affiliated with, or supported by Slack Technologies, Inc.
2022-03-29
Channels
- # announcements (7)
- # asami (13)
- # babashka (22)
- # beginners (52)
- # calva (95)
- # clj-kondo (14)
- # cljs-dev (7)
- # clojars (5)
- # clojure (94)
- # clojure-austin (5)
- # clojure-dev (15)
- # clojure-europe (25)
- # clojure-nl (18)
- # clojure-uk (15)
- # clojuredesign-podcast (28)
- # clojurescript (63)
- # copenhagen-clojurians (1)
- # cursive (3)
- # datalevin (7)
- # datascript (13)
- # datomic (13)
- # duct (14)
- # emacs (24)
- # events (1)
- # fulcro (13)
- # graphql (7)
- # kaocha (4)
- # lambdaisland (6)
- # lsp (22)
- # music (5)
- # off-topic (24)
- # rdf (1)
- # re-frame (3)
- # reitit (9)
- # shadow-cljs (23)
- # sql (15)
- # testing (4)
- # tools-build (6)
- # vim (7)
- # vscode (7)
- # xtdb (21)
I have problems with which key, I get the following message when I press SPC SPC in spacemacs. Anyone have ideas to how I can find out whats wrong?
I assume you have tried restarting Emacs, especially if new packages have been installed
https://practical.li/spacemacs/install-spacemacs/troubleshooting.html guide as advice on trying to fix issues with Spacemacs I haven't experienced this problem myself, although I haven't updated packages for a few weeks
If I have an evil-mode question, am I best to ask here, or in the more vi-focused areas like #doom-emacs or #spacemacs, please?
Well it's on my home computer, not my work machine (actually, the work machine is probably behaving the same. I should check). I’ll ask when I'm back on my personal computer again 🙂
There’s a feature of ivy and swiper I’d like to duplicate in vertico/consult/embark. I use ‘C-s’ to start a search, then I have a binding for ivy-yank-word
that lets me build my search string with only one keybinding. I have found kludgy ways of doing this in embark and consult, but it seems there should be a better way.
@U061KMSM7 are you talking about converting i-search to swiper search on the fly?
Yes, I think that’s what it is… let my check my config…
yes, swiper, and also swiper-thing-at-point. But I start with swiper rather than i-search with C-s, and then yank in the next word (subword mode in Clojure means :foo-bar-baz is 3 words, of course) and progressively show the matches with each press.
@U0390SFMN93 I can do it with about 5 keystrokes, but I can’t find an equivalent for ‘ivy-yank-word’
I thought you're talking about starting with i-search, then turning it into swiper (in your case consult-line
), where it pre-populates the initial string with what you've already typed.
Examples of that kind of integration can be found in https://github.com/minad/consult#use-package-example scroll down to ";; Isearch integration" line
Can you give an example where you would need this workflow? Since you mentioned embark, if the point is over :foo-bar-baz
, you can use embark-act
and n/p
for moving thru matches
@U0G75ARHC @U976F1AR2 Thanks for the suggestions… I’ll check them out and report back
Is this what you’re after? https://github.com/minad/consult/issues/378
@U015KH5ENEM That’s exactly what I was talking about. So there really is no analogue for the isearch/ivy feature. Thanks!
Not exactly, but I would think that the code here https://github.com/minad/consult/issues/378#issuecomment-891551565 would work more often than not (if consult-line
+ M-n M-n
isn’t sufficient, or if starting with isearch
and then using consult-line
won’t do).