Fork me on GitHub
#spacemacs
<
2022-11-22
>
Jacques12:11:11

does anyone maybe know the command combination to delete all white space between 2 words, including new lines (if this exists)? i tried to search for it but couldn't find anything

tomd13:11:26

If using evil mode, diw when in the whitespace will do this, but not across newlines. Looks like there's an error thrown when on an empty line actually, which I'll look to fix. In holy mode, fixup-whitespace (M-SPC) gets you close, but leaves one space, and also doesn't cross newlines.

Jacques14:11:37

ah great. thank you. that will do the trick 👍

👍 1