aboutsummaryrefslogtreecommitdiff
path: root/runtime/scripts/less.bat
blob: f80bf9209efb76a043f5ef7e5042043ad229123c (plain) (blame)
1
2
3
4
5
6
7
8
9
10
@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"=="" (
  nvim --cmd "let no_plugin_maps = 1" -c "runtime! scripts/less.vim" -
) else (
  nvim --cmd "let no_plugin_maps = 1" -c "runtime! scripts/less.vim" %*
)