VIM: Difference between revisions

Jump to navigation Jump to search
91 bytes added ,  9 September 2019
→‎Useful commands: 4 spaces instead of tab
→‎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 =

Navigation menu