0

I tried to follow this to replace a character with newline in Spacemacs but that key combination replaced it with a space instead of newline.

How to replace a character with a newline in Emacs?

How can this be accomplished in Spacemacs?

1 Answers1

0

It is supposed to work exactly the same with Spacemacs (C-q C-j will replace with a newline).

You can check if your keys are correctly mapped with the describe-key command (C-h k):

  • C-q runs the command quoted-insert and
  • C-j runs the command electric-newline-and-maybe-indent (result with my Spacemacs)
helvete
  • 2,455
  • 13
  • 33
  • 37
frperies
  • 41
  • 6