summaryrefslogtreecommitdiffstats
path: root/runtime/macros/less.bat
diff options
context:
space:
mode:
authorBram Moolenaar <Bram@vim.org>2012-05-18 13:46:39 +0200
committerBram Moolenaar <Bram@vim.org>2012-05-18 13:46:39 +0200
commit1aeaf8c0e0421f34e51ef674f0c9a182debe77ae (patch)
treeac823e8259ccfd8c536bc34b1d1132e1538f1856 /runtime/macros/less.bat
parentdbb4a42cdc63933b11bcb9988d926421b3f5028d (diff)
Updated runtime files.
Diffstat (limited to 'runtime/macros/less.bat')
-rw-r--r--runtime/macros/less.bat10
1 files changed, 10 insertions, 0 deletions
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" %*
+)