zshrc: add wrapper for vim
authorFrank Terbeck <ft@bewatermyfriend.org>
Thu, 2 Apr 2009 11:09:02 +0000 (13:09 +0200)
committerFrank Terbeck <ft@bewatermyfriend.org>
Thu, 2 Apr 2009 11:09:02 +0000 (13:09 +0200)
commitbc37cee39c352813cf3aa420eec5ae25dc77d9fd
treea062d8faa6b55107585510b14c294470523c4f23
parent42ce151d8d932e740b6478698552f5185e69048c
zshrc: add wrapper for vim

This wrapper sets VIM_PLEASE_SET_TITLE, so the vimrc knows to set screens
hardstatus.

The wrapper also supports an array ($VIM_OPTIONS), that can be used to set
options for every vim invocation.

To use the installed vim binary without the wrapper function, use either of these:
  % command vim
  % =vim

The latter needs the EQUALS option set in zsh (which is the default).
etc/zsh/zshrc