I'm trying to make a keybinding that converts double-spacing to single in the active file. In other words I want to replace \n\n with \n across the file. I set this up but I can't get it to work.
I switched to Replace Rules and there was an example for just what I needed. So I"m good to go. However, it would still be nice to know what's wrong for future use, and for googlers to find.
I'm trying to make a keybinding that converts double-spacing to single in the active file. In other words I want to replace
\n\n
with\n
across the file. I set this up but I can't get it to work.My settings entry ...
my kebindings.json entry ...
What am I doing wrong? Is there a way to do this in vscode without an extension? Thanks in advance.