#Linux Alias-function to transform a plain text file into a full formatted html one with Vim.oneshot (55)in #linux • 6 years ago The usage is $ vimhtml text.txt to obtain text.txt.html. vimhtml() { [[ -f "$1" ]] || return 1; vim +'syn on | run! syntax/2html.vim | wq | q' "$1" > /dev/null 2>&1; } #alias #function #html