home *** CD-ROM | disk | FTP | other *** search
/ vim.ftp.fu-berlin.de / 2015-02-03.vim.ftp.fu-berlin.de.tar / vim.ftp.fu-berlin.de / unix / vim-6.2.tar.bz2 / vim-6.2.tar / vim62 / runtime / macros / less.sh < prev    next >
Encoding:
Linux/UNIX/POSIX Shell Script  |  2002-02-27  |  215 b   |  10 lines

  1. #!/bin/sh
  2. # Shell script to start Vim with less.vim.
  3. # Read stdin if no arguments were given.
  4.  
  5. if test $# = 0; then
  6.   vim -c 'so $VIMRUNTIME/macros/less.vim' -
  7. else
  8.   vim -c 'so $VIMRUNTIME/macros/less.vim' "$@"
  9. fi
  10.