Mercurial > vim
view runtime/macros/less.bat @ 29142:74974ecddc8a v8.2.5091
patch 8.2.5091: terminal test fails with some shell commands
Commit: https://github.com/vim/vim/commit/e564c7009dfb065fb5261e548b15f83d32f735c9
Author: Bram Moolenaar <Bram@vim.org>
Date: Tue Jun 14 15:00:28 2022 +0100
patch 8.2.5091: terminal test fails with some shell commands
Problem: Terminal test fails with some shell commands.
Solution: Disable setting the window title. (closes https://github.com/vim/vim/issues/10530)
author | Bram Moolenaar <Bram@vim.org> |
---|---|
date | Tue, 14 Jun 2022 16: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" %* )