zshrc: Remove viless
authorFrank Terbeck <ft@bewatermyfriend.org>
Tue, 29 Nov 2011 13:09:22 +0000 (14:09 +0100)
committerMichael Prokop <mika@grml.org>
Tue, 6 Dec 2011 13:50:46 +0000 (14:50 +0100)
Signed-off-by: Frank Terbeck <ft@bewatermyfriend.org>
doc/grmlzshrc.t2t
etc/zsh/zshrc

index 756246d..d0d9ed9 100644 (file)
@@ -798,9 +798,6 @@ Works around the "print -l ${(u)foo}"-limitation on zsh older than 4.2.
 Changes every occurrence of the string UTF-8 or utf-8 in environment
 variables to iso885915.
 
-: **viless()**
-Vim as pager.
-
 : **vim()**
 Wrapper for vim(1). It tries to set the title and hands vim the environment
 variable VIM_OPTIONS on the command line. So the user may define command
index 204dbcc..9db5a08 100644 (file)
@@ -2784,11 +2784,6 @@ udiff() {
     emulate -L zsh
     diff -urd $* | egrep -v "^Only in |^Binary files "
 }
-#f5# (Mis)use \kbd{vim} as \kbd{less}
-viless() {
-    emulate -L zsh
-    vim --cmd 'let no_plugin_maps = 1' -c "so \$VIMRUNTIME/macros/less.vim" "${@:--}"
-}
 
 # Function Usage: doc packagename
 #f5# \kbd{cd} to /usr/share/doc/\textit{package}