view runtime/macros/less.bat @ 7374:7e367104f6b6 v7.4.992

commit https://github.com/vim/vim/commit/013806229a1e15480592f6bc8453130685ec750b Author: Bram Moolenaar <Bram@vim.org> Date: Tue Dec 29 16:04:42 2015 +0100 patch 7.4.992 Problem: Makefiles for MS-Windows in src/po are outdated. Solution: Make them work. (Ken Takata, Taro Muraoka)
author Christian Brabandt <cb@256bit.org>
date Tue, 29 Dec 2015 16:15:04 +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" %*
)