X-Git-Url: https://git.phdru.name/?a=blobdiff_plain;f=dotfiles2html%2Fdotfile2html.vim;h=81fd6453e9373e5b6c3641c5424af71a72f0ab01;hb=f95205f4ff896df01ca7c9c3d672147408e0b119;hp=03c01bc314c0adc58efdbdaf1caf49027ebe0afd;hpb=132a0edc5a0f1bade4fc939f19ab2b464f9d376c;p=phdru.name%2Fphdru.name.git diff --git a/dotfiles2html/dotfile2html.vim b/dotfiles2html/dotfile2html.vim index 03c01bc..81fd645 100644 --- a/dotfiles2html/dotfile2html.vim +++ b/dotfiles2html/dotfile2html.vim @@ -1,16 +1,20 @@ -" Convert the file to HTML highlight Constant gui=NONE guifg=NONE guibg=NONE highlight Special gui=NONE guibg=NONE highlight Normal gui=NONE guifg=NONE guibg=NONE highlight Error gui=NONE guifg=NONE guibg=NONE -runtime syntax/2html.vim +" Convert the file to HTML +TOhtml +" Remove headers normal 1G -1,/^/+1 +normal 2dd -normal Gk -normal 2wlDjdd +/^<\/body> +normal 2dd write quitall