added a vim helper plugin; currently only one function, in which takes any file; colorizes it and gives you an output html file.

This commit is contained in:
James McGlashan 2011-12-11 04:51:34 +11:00
commit a4a108acd3

View file

@ -1,3 +1,5 @@
# Aliases to commands one may use with vim. # Vim helper plugin.
# Colorize the source of a file and create a html file. # Colorize the source of a file and create a html file.
alias code2html="vim omz -f +'syn on' +'set background=dark' +'colorscheme pablo' +'TOhtml' +'w' +'qa' &>/dev/null" code2html() {
vim $@ +'syn on' +'set background=dark' +'colorscheme pablo' +'TOhtml' +'w' +'qa' &>/dev/null
}