mirror of
https://github.com/ohmyzsh/ohmyzsh.git
synced 2026-01-02 02:19:06 +01:00
added svim alias
This commit is contained in:
parent
bd7521840d
commit
6c9ad747b1
1 changed files with 3 additions and 0 deletions
|
|
@ -1,4 +1,7 @@
|
||||||
# Vim helper plugin.
|
# Vim helper plugin.
|
||||||
|
# Aliases
|
||||||
|
alias svim='sudo vim'
|
||||||
|
|
||||||
# Colorize the source of a file and create a html file.
|
# Colorize the source of a file and create a html file.
|
||||||
code2html() {
|
code2html() {
|
||||||
vim $@ +'syn on' +'set background=dark' +'colorscheme pablo' +'TOhtml' +'w' +'qa' &>/dev/null
|
vim $@ +'syn on' +'set background=dark' +'colorscheme pablo' +'TOhtml' +'w' +'qa' &>/dev/null
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue