Vim convert tabs to spaces

/ Published in: Other
Save to your folder(s)

This will force all tabs in the current buffer to be converted to spaces.

Copy this code and paste it in your HTML
  1. :set expandtab
  2. :%retab!

Report this snippet


RSS Icon Subscribe to comments

You need to login to post a comment.