annotate runtime/macros/less.bat @ 19728:41a1ea967a97 v8.2.0420

patch 8.2.0420: Vim9: cannot interrupt a loop with CTRL-C Commit: https://github.com/vim/vim/commit/f1ec378b014efb9897422c40369a6462163a512a Author: Bram Moolenaar <Bram@vim.org> Date: Fri Mar 20 19:37:47 2020 +0100 patch 8.2.0420: Vim9: cannot interrupt a loop with CTRL-C Problem: Vim9: cannot interrupt a loop with CTRL-C. Solution: Check for CTRL-C once in a while. Doesn't fully work yet.
author Bram Moolenaar <Bram@vim.org>
date Fri, 20 Mar 2020 19:45:03 +0100
parents 1b584a6f446c
children
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
3513
1b584a6f446c Updated runtime files.
Bram Moolenaar <bram@vim.org>
parents:
diff changeset
1 @echo off
1b584a6f446c Updated runtime files.
Bram Moolenaar <bram@vim.org>
parents:
diff changeset
2 rem batch file to start Vim with less.vim.
1b584a6f446c Updated runtime files.
Bram Moolenaar <bram@vim.org>
parents:
diff changeset
3 rem Read stdin if no arguments were given.
1b584a6f446c Updated runtime files.
Bram Moolenaar <bram@vim.org>
parents:
diff changeset
4 rem Written by Ken Takata.
1b584a6f446c Updated runtime files.
Bram Moolenaar <bram@vim.org>
parents:
diff changeset
5
1b584a6f446c Updated runtime files.
Bram Moolenaar <bram@vim.org>
parents:
diff changeset
6 if "%1"=="" (
1b584a6f446c Updated runtime files.
Bram Moolenaar <bram@vim.org>
parents:
diff changeset
7 vim --cmd "let no_plugin_maps = 1" -c "runtime! macros/less.vim" -
1b584a6f446c Updated runtime files.
Bram Moolenaar <bram@vim.org>
parents:
diff changeset
8 ) else (
1b584a6f446c Updated runtime files.
Bram Moolenaar <bram@vim.org>
parents:
diff changeset
9 vim --cmd "let no_plugin_maps = 1" -c "runtime! macros/less.vim" %*
1b584a6f446c Updated runtime files.
Bram Moolenaar <bram@vim.org>
parents:
diff changeset
10 )