| Bram Moolenaar | 1aeaf8c | 2012-05-18 13:46:39 +0200 | [diff] [blame] | 1 | @echo off |
| 2 | rem batch file to start Vim with less.vim. | ||||
| 3 | rem Read stdin if no arguments were given. | ||||
| 4 | rem Written by Ken Takata. | ||||
| 5 | |||||
| 6 | if "%1"=="" ( | ||||
| 7 | vim --cmd "let no_plugin_maps = 1" -c "runtime! macros/less.vim" - | ||||
| 8 | ) else ( | ||||
| 9 | vim --cmd "let no_plugin_maps = 1" -c "runtime! macros/less.vim" %* | ||||
| 10 | ) | ||||