mirror of
https://github.com/ohmyzsh/ohmyzsh.git
synced 2025-12-26 02:12:33 +01:00
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:
parent
dd14b935cb
commit
a4a108acd3
1 changed files with 4 additions and 2 deletions
|
|
@ -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.
|
||||
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
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue