1 2 3 4 5 6
" Tidy the whole buffer function! html#Tidy() abort let view = winsaveview() %!tidy -quiet call winrestview(view) endfunction