From 1aeaf8c0e0421f34e51ef674f0c9a182debe77ae Mon Sep 17 00:00:00 2001 From: Bram Moolenaar Date: Fri, 18 May 2012 13:46:39 +0200 Subject: Updated runtime files. --- runtime/macros/less.bat | 10 ++++++++++ 1 file changed, 10 insertions(+) create mode 100644 runtime/macros/less.bat (limited to 'runtime/macros/less.bat') diff --git a/runtime/macros/less.bat b/runtime/macros/less.bat new file mode 100644 index 0000000000..bbe619bc92 --- /dev/null +++ b/runtime/macros/less.bat @@ -0,0 +1,10 @@ +@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" %* +) -- cgit v1.2.3