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 / runtime / dos / macros / less.bat < prev    next >
Encoding:
DOS Batch File  |  2012-05-31  |  298 b   |  11 lines

  1. @echo off
  2. rem batch file to start Vim with less.vim.
  3. rem Read stdin if no arguments were given.
  4. rem Written by Ken Takata.
  5.  
  6. if "%1"=="" (
  7.   vim --cmd "let no_plugin_maps = 1" -c "runtime! macros/less.vim" -
  8. ) else (
  9.   vim --cmd "let no_plugin_maps = 1" -c "runtime! macros/less.vim" %*
  10. )
  11.