view runtime/macros/less.bat @ 20597:1c9b87841376 v8.2.0852

patch 8.2.0852: cannot map CTRL-S on some systems Commit: https://github.com/vim/vim/commit/d6cd5ffade84a1054fed23079133af3b837033bf Author: Bram Moolenaar <Bram@vim.org> Date: Sat May 30 20:05:02 2020 +0200 patch 8.2.0852: cannot map CTRL-S on some systems Problem: Cannot map CTRL-S on some systems. Solution: Do not use CTRL-S for flow control.
author Bram Moolenaar <Bram@vim.org>
date Sat, 30 May 2020 20:15:03 +0200
parents 1b584a6f446c
children
line wrap: on
line source

@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" %*
)