ohmyzsh/plugins/vim/vim.plugin.zsh
James McGlashan 6c9ad747b1 added svim alias
2011-12-16 12:53:27 +11:00

8 lines
222 B
Bash

# Vim helper plugin.
# Aliases
alias svim='sudo vim'
# Colorize the source of a file and create a html file.
code2html() {
vim $@ +'syn on' +'set background=dark' +'colorscheme pablo' +'TOhtml' +'w' +'qa' &>/dev/null
}