From: Frank Terbeck Date: Tue, 29 Nov 2011 13:09:22 +0000 (+0100) Subject: zshrc: Remove viless X-Git-Url: https://git.grml.org/?a=commitdiff_plain;h=8ad1e597220b6e52ae31a7236727c4429633db20;p=grml-etc-core.git zshrc: Remove viless Signed-off-by: Frank Terbeck --- diff --git a/doc/grmlzshrc.t2t b/doc/grmlzshrc.t2t index 756246d..d0d9ed9 100644 --- a/doc/grmlzshrc.t2t +++ b/doc/grmlzshrc.t2t @@ -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 diff --git a/etc/zsh/zshrc b/etc/zsh/zshrc index 50799ce..9d003a6 100644 --- a/etc/zsh/zshrc +++ b/etc/zsh/zshrc @@ -2783,11 +2783,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}