view runtime/macros/less.bat @ 14435:90bed90d1130 v8.1.0231

patch 8.1.0231: :help -? goes to help for -+ commit https://github.com/vim/vim/commit/a5bc38b8c16be93bac900137a5837585006cc8a4 Author: Bram Moolenaar <Bram@vim.org> Date: Wed Aug 1 18:03:02 2018 +0200 patch 8.1.0231: :help -? goes to help for -+ Problem: :help -? goes to help for -+. Solution: Add -? to list of special cases. (Hirohito Higashi)
author Christian Brabandt <cb@256bit.org>
date Wed, 01 Aug 2018 18:15:05 +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" %*
)