commit | 1aeaf8c0e0421f34e51ef674f0c9a182debe77ae | [log] [tgz] |
---|---|---|
author | Bram Moolenaar <Bram@vim.org> | Fri May 18 13:46:39 2012 +0200 |
committer | Bram Moolenaar <Bram@vim.org> | Fri May 18 13:46:39 2012 +0200 |
tree | ac823e8259ccfd8c536bc34b1d1132e1538f1856 | |
parent | dbb4a42cdc63933b11bcb9988d926421b3f5028d [diff] [blame] |
Updated runtime files.
diff --git a/runtime/macros/less.bat b/runtime/macros/less.bat new file mode 100644 index 0000000..bbe619b --- /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" %* +)