view runtime/macros/less.bat @ 6963:4bf9538ff25e v7.4.799

patch 7.4.799 Problem: Accessing memory before an allocated block. Solution: Check for not going before the start of a pattern. (Dominique Pelle)
author Bram Moolenaar <bram@vim.org>
date Tue, 28 Jul 2015 13:33:45 +0200
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" %*
)