zshrc: Remove 2html
authorFrank Terbeck <ft@bewatermyfriend.org>
Mon, 28 Nov 2011 21:30:47 +0000 (22:30 +0100)
committerMichael Prokop <mika@grml.org>
Tue, 6 Dec 2011 13:50:45 +0000 (14:50 +0100)
Signed-off-by: Frank Terbeck <ft@bewatermyfriend.org>
etc/zsh/zshrc

index 02c11d8..7d34339 100644 (file)
@@ -3006,13 +3006,6 @@ selhist() {
     print -z "${cmd[$answer]#*$TAB}"
 }
 
-# Use vim to convert plaintext to HTML
-#f5# Transform files to html with highlighting
-2html() {
-    emulate -L zsh
-    vim -u NONE -n -c ':syntax on' -c ':so $VIMRUNTIME/syntax/2html.vim' -c ':wqa' $1 &>/dev/null
-}
-
 # Usage: simple-extract <file>
 # Using option -d deletes the original archive file.
 #f5# Smart archive extractor