Mercurial > vim
view runtime/macros/less.bat @ 8775:d5136647ce31 v7.4.1676
commit https://github.com/vim/vim/commit/fead3ac9a35e0fc358141d3eb19574cd8a3ecb55
Author: Bram Moolenaar <Bram@vim.org>
Date: Mon Mar 28 21:26:47 2016 +0200
patch 7.4.1676
Problem: The shellmenu plugin has to be copied or sourced to be used.
Solution: Turn it into a package.
author | Christian Brabandt <cb@256bit.org> |
---|---|
date | Mon, 28 Mar 2016 21:30:10 +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" %* )