Delete whitespace or tabspace in the beginning of lines in Vim editor

ref

I wanted to remove those empty space (yellow color)

(1) before

2

So, I use this command,

:%s/^\s\+

then,

(2) after1

 

So, Simple 🙂

Advertisements