Created
April 28, 2012 09:04
-
-
Save k-takata/2517336 to your computer and use it in GitHub Desktop.
batch file to start Vim with less.vim.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
@echo off | |
rem batch file to start Vim with less.vim. | |
rem Read stdin if no arguments were given. | |
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" %* | |
) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment