How do I convert tabs to spaces in Spacemacs?

First, show whitespace in a file.

Then use v to enter visual mode, and select text (using h j k l):

selecting text

Press ALT x and type untabify:

untabify

Make sure untabify is highlighted, and press enter:

spaces show now

Now you've got spaces instead of tabs.

Comments

Leave a comment

What color are brown eyes? (spam prevention)
Submit
Code under MIT License unless otherwise indicated.
© 2020, Downranked, LLC.