4,452
edits
→Useful commands: 4 spaces instead of tab |
|||
Line 211: | Line 211: | ||
;Remove HTML tags | ;Remove HTML tags | ||
:<nowiki>:%s/<\_.\{-1,\}>//g</nowiki> | :<nowiki>:%s/<\_.\{-1,\}>//g</nowiki> | ||
;Replace all tabs with 4 spaces | |||
:%retab | |||
;Set tab to 4 spaces | |||
:set expandtab ts=4 sw=4 ai | |||
= Plug-ins = | = Plug-ins = |