view runtime/macros/less.bat @ 13119:729f279fda8d v8.0.1434

patch 8.0.1434: GTK: :promtfind does not put focus on text input commit https://github.com/vim/vim/commit/d7823d5b7c32f73ca720373ea9c16b1b47f086df Author: Bram Moolenaar <Bram@vim.org> Date: Sun Jan 28 15:36:42 2018 +0100 patch 8.0.1434: GTK: :promtfind does not put focus on text input Problem: GTK: :promtfind does not put focus on text input. (Adam Novak) Solution: When re-opening the dialog put focus on the text input. (Kazunobu Kuriyama, closes #2563)
author Christian Brabandt <cb@256bit.org>
date Sun, 28 Jan 2018 15:45:05 +0100
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" %*
)