less.bat (292B)
1 @echo off 2 rem batch file to start Vim with less.vim. 3 rem Read stdin if no arguments were given. 4 rem Written by Ken Takata. 5 6 if "%1"=="" ( 7 nvim --cmd "let no_plugin_maps = 1" -c "runtime! scripts/less.vim" - 8 ) else ( 9 nvim --cmd "let no_plugin_maps = 1" -c "runtime! scripts/less.vim" %* 10 )