view runtime/macros/less.bat @ 5668:b1b8b097539a v7.4.180

updated for version 7.4.180 Problem: Older Python versions don't support %ld. Solution: Use %d instead. (ZyX)
author Bram Moolenaar <bram@vim.org>
date Sat, 15 Feb 2014 15:59:03 +0100
parents 1b584a6f446c
children
line wrap: on
line source

@echo off
rem batch file to start Vim with less.vim.
rem Read stdin if no arguments were given.
rem Written by Ken Takata.

if "%1"=="" (
  vim --cmd "let no_plugin_maps = 1" -c "runtime! macros/less.vim" -
) else (
  vim --cmd "let no_plugin_maps = 1" -c "runtime! macros/less.vim" %*
)