From b4428f46e556b9560a24b08049b6ea38d1ba5349 Mon Sep 17 00:00:00 2001 From: Frank Terbeck Date: Tue, 29 Nov 2011 14:09:22 +0100 Subject: [PATCH] zshrc: Remove viless Signed-off-by: Frank Terbeck --- doc/grmlzshrc.t2t | 3 --- etc/zsh/zshrc | 5 ----- 2 files changed, 8 deletions(-) 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 204dbcc..9db5a08 100644 --- a/etc/zsh/zshrc +++ b/etc/zsh/zshrc @@ -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} -- 2.1.4