Mercurial > vim
view runtime/macros/less.bat @ 7233:9487ea110214 v7.4.925
commit https://github.com/vim/vim/commit/a0ed84a26897c994512873a895b9fc54e90c6845
Author: Bram Moolenaar <Bram@vim.org>
Date: Thu Nov 19 17:56:13 2015 +0100
patch 7.4.925
Problem: User may yank or put using the register being recorded in.
Solution: Add the recording register in the message. (Christian Brabandt,
closes #470)
author | Christian Brabandt <cb@256bit.org> |
---|---|
date | Thu, 19 Nov 2015 18:00: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" %* )