Skip to content

Instantly share code, notes, and snippets.

Max Hoffmann mhoffman

Block or report user

Report or block mhoffman

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
@ericdouglas
ericdouglas / super-tip.txt
Last active Sep 9, 2019
Change 4 spaces to 2 spaces indentation and change tab to spaces - Vim tip
View super-tip.txt
// 4 spaces to 2 spaces
%s;^\(\s\+\);\=repeat(' ', len(submatch(0))/2);g
// Tab to 2 spaces
:%s/\t/ /g
You can’t perform that action at this time.