view runtime/macros/less.bat @ 8082:0c7f5abe84b8 v7.4.1335

commit https://github.com/vim/vim/commit/5d54a045989599468b7a971fc354b0cba4e2b09d Author: Bram Moolenaar <Bram@vim.org> Date: Tue Feb 16 16:39:51 2016 +0100 patch 7.4.1335 Problem: Can't build on MS-Windows with +job but without +channel. (Cesar Romani) Solution: Add #ifdefs. (Yasuhiro Matsumoto)
author Christian Brabandt <cb@256bit.org>
date Tue, 16 Feb 2016 16:45:07 +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" %*
)