Skip to content

Commit

Permalink
zshrc: Remove viless
Browse files Browse the repository at this point in the history
Signed-off-by: Frank Terbeck <ft@bewatermyfriend.org>
  • Loading branch information
ft authored and mika committed Dec 6, 2011
1 parent 73a6cb7 commit b4428f4
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 8 deletions.
3 changes: 0 additions & 3 deletions doc/grmlzshrc.t2t
Expand Up @@ -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
Expand Down
5 changes: 0 additions & 5 deletions etc/zsh/zshrc
Expand Up @@ -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}
Expand Down

0 comments on commit b4428f4

Please sign in to comment.