view runtime/macros/less.bat @ 20373:f8835e16c34e v8.2.0742

patch 8.2.0742: handling of a TERM signal not tested Commit: https://github.com/vim/vim/commit/48a687148c4649f6f55b36a1f4111041e7207235 Author: Bram Moolenaar <Bram@vim.org> Date: Tue May 12 14:42:02 2020 +0200 patch 8.2.0742: handling of a TERM signal not tested Problem: Handling of a TERM signal not tested. Solution: Add a test for SIGTERM. (Dominique Pelle, closes https://github.com/vim/vim/issues/6055)
author Bram Moolenaar <Bram@vim.org>
date Tue, 12 May 2020 14:45:03 +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" %*
)