Fork me on GitHub
#emacs
<
2022-03-29
>
Hagenek08:03:16

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?

practicalli-john10:03:14

I assume you have tried restarting Emacs, especially if new packages have been installed

practicalli-john10:03:18

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

👍 1
Hagenek10:04:54

Thanks 😃

quoll18:03:52

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?

ericdallo18:03:11

IMO this is a good channel

👍 2
tomd22:03:12

n.b. I'm the maintainer of evil and I'm not even in #doom-emacs or #spacemacs 😬

😛 3
quoll00:03:05

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 🙂

👍 1
quoll18:03:37

I know that's vague, but I was just after general guidelines

jmckitrick18:03:38

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.

ag18:03:49

I'm intrigued, but I don't get what you're saying. Can you elaborate?

zydy19:03:19

Does vertico, consult, embark provide a keymap you can use?

ag19:03:31

@U061KMSM7 are you talking about converting i-search to swiper search on the fly?

jmckitrick19:03:57

Yes, I think that’s what it is… let my check my config…

jmckitrick19:03:57

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.

jmckitrick20:03:39

@U0390SFMN93 I can do it with about 5 keystrokes, but I can’t find an equivalent for ‘ivy-yank-word’

ag20:03:28

check vertico-map see if anything binds to yank

ag20:03:19

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.

ag20:03:34

Examples of that kind of integration can be found in https://github.com/minad/consult#use-package-example scroll down to ";; Isearch integration" line

apt20:03:11

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

jmckitrick20:03:56

@U0G75ARHC @U976F1AR2 Thanks for the suggestions… I’ll check them out and report back

jmckitrick11:03:13

@U015KH5ENEM That’s exactly what I was talking about. So there really is no analogue for the isearch/ivy feature. Thanks!

djm11:03:40

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).