by

Where communities thrive


  • Join over 1.5M+ people
  • Join over 100K+ communities
  • Free without limits
  • Create your own community
People
Repo info
Activity
  • 06:05
    dduenker closed #13567
  • 06:05
    dduenker commented #13567
  • 02:07
    conao3 starred syl20bnr/spacemacs
  • 00:46
    TheZeus121 starred syl20bnr/spacemacs
  • 00:20
    gdeangelis starred syl20bnr/spacemacs
  • Jul 12 23:21
    smile13241324 commented #13712
  • Jul 12 23:20
    smile13241324 commented #13712
  • Jul 12 23:00
    smile13241324 closed #13219
  • Jul 12 23:00
    smile13241324 commented #13219
  • Jul 12 22:58
    smile13241324 closed #11810
  • Jul 12 22:58
    smile13241324 commented #11810
  • Jul 12 22:56

    smile13241324 on develop

    Only remove non system pkg Add… [core] Revise "do not delete sy… (compare)

  • Jul 12 21:40
    yleteigner starred syl20bnr/spacemacs
  • Jul 12 20:07
  • Jul 12 19:58
    smile13241324 commented #13760
  • Jul 12 19:50
    smile13241324 commented #13754
  • Jul 12 19:49
    smile13241324 commented #13754
  • Jul 12 19:34
    smile13241324 labeled #13750
  • Jul 12 19:33
    smile13241324 commented #13750
From IRC (bridge bot)
@FromIRC
<jonathanschl|> Hello Does spacemacs work on Windows 7?
Erich L Foster
@erichlf
I have a few times where something happens in spacemacs where key bindings like dd, yy, etc. get triggered by d, y, respectively. I am sure I probably fat fingered something... How do I undo this?
milochadam
@milochadam
@yyoncho Oh, I see. Do you know how to make it work in visual mode, so when I paste with e.g. selected line it replaces it and the clipboard is not overridden?
Ivan Yonchovski
@yyoncho
@milochadam it works in visual mode as well - e. g. viwgo will replace the current word with the clipboard without replacing the clipboard
milochadam
@milochadam
@erichlf Caps-lock? If not, you could try C-h k y to see what function this key calls.
@yyoncho It doesn't seem to work. I tried vi)go and then p in a different line but it didn't paste anything.
Ivan Yonchovski
@yyoncho
So, go will replace the selection with the current content of the clipboard
milochadam
@milochadam
It looks like it, but the new content in the clipboard is not what I selected either
Ivan Yonchovski
@yyoncho
you want to have it in the clipboard?
the old content?
I mean the visual selection
milochadam
@milochadam
No, that's the default behaviour of spacemacs right now. I want to keep clipboard unmodified
Erich L Foster
@erichlf
@milochadam I have caps-lock disabled, so not that. But y runs the command evil-yank (found in evil-normal-state-map), which is an interactive compiled Lisp function in
milochadam
@milochadam
@erichlf That's the regular binding. Is the yy behaviour persistent or it happens at random?
2 replies
davidpiano
@davidpiano
I know I recently heard on here about yy and dd getting wrongly doubled... I'm having a hard time finding it but I know it's not that long ago
(I mean, there was maybe a solution or at least an understanding of what the problem is)
Igor Almeida
@igoralmeida
#10410 ?
davidpiano
@davidpiano
Yes, exactly, that was it.
John Stevenson
@jr0cket
@erichlf I use helm-swoop, SPC s s instead of the / search, which avoids the problem with evil key bindings if you forget to end the search pattern with RET. I eventually remapped the / keybinding to helm-swoop as I preferred the helm-swoop way of searching.
davidpiano
@davidpiano
@jr0cket Thank you - helm-swoop seems to work very well for me, and I never knew about it.
Jason Axelson
@axelson
Does anyone know how to define a new key for the layouts transient state? I want SPC-l-a to switch to layout 1 and SPC-l-b to switch to layout 2
matrixbot
@matrixbot
shoshin @axelson you need to find out what keymap is bound to SPC-l
shoshin nvm, you're asking about the transient state, that may be a bit different
Jason Axelson
@axelson
yeah
matrixbot
@matrixbot
shoshin hrm. i feel like i remember doing this once but i don't see it in my dotfile. you could just edit your local files of course, but there's probably a cleaner way
Jason Axelson
@axelson
Yeah I'd rather not change the spacemacs files themselves for this.
I'm probably more likely to just create a new layer for my keyboard...
matrixbot
@matrixbot
shoshin it looks like the transient state is using hydra underneath, and hydras do create keymaps, so there should be one you can bind to
shoshin try M-x describe-keymap and see if you can find one for the layouts hydra/transient
Jason Axelson
@axelson
hmm
matrixbot
@matrixbot
shoshin i'm not on spacemacs rn so i can't look myself
shoshin at least i think there should be a describe-keymap
matrixbot
@matrixbot
shoshin maybe spacemacs/layouts-transient-state/keymap
Jason Axelson
@axelson
hmmm
matrixbot
@matrixbot
shoshin yeah they get generated by hydra
Jason Axelson
@axelson
ah, I see
matrixbot
@matrixbot
shoshin another thing i just thought of, not elegant, but a quick attempt, would be to copy that transient state definition into your user-config and just change it as you need
shoshin ideally, then it would just take the place of the spacemacs defined one
Jason Axelson
@axelson
ah nice:
(define-key spacemacs/layouts-transient-state/keymap "a" #'spacemacs/persp-switch-to-1)
That works although the hydra now shows the wrong state
Ah, so you're suggesting to define my own hydra
that seems like a good approach
the layouts hydra probably doesn't change super often so it shouldn't be too hard to keep in sync
thanks!
matrixbot
@matrixbot
shoshin yeah i was thinking changing the keymap wouldn't be quite right. if you look through the hydra docs you may be able to find a way to update the text for that particular key... though from what i can tell its all in one string
shoshin glad i could help a bit!
shoshin perhaps there's some way to write your own wrapper around the spacemacs one? i'd have to play with it a bit. the hydra docs will be your best help, the spacemacs define transient is a wrapper around that
davidpiano
@davidpiano
(If you need help sending a parcel, get a Spacemacs expert. Highly skilled with wrappers. :) )