Mercurial > vim
view runtime/macros/less.bat @ 8457:20533e3de373 v7.4.1519
commit https://github.com/vim/vim/commit/13d6fb17a2c5d2ae02429e31fc8603a9caa4395e
Author: Bram Moolenaar <Bram@vim.org>
Date: Tue Mar 8 18:40:52 2016 +0100
patch 7.4.1519
Problem: Channel output to file not implemented for MS-Windows.
Solution: Implement it. (Yasuhiro Matsumoto)
author | Christian Brabandt <cb@256bit.org> |
---|---|
date | Tue, 08 Mar 2016 18:45: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" %* )