neovim/runtime/macros/less.bat

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

11 lines
290 B
Batchfile
Raw Permalink Normal View History

@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! macros/less.vim" -
) else (
nvim --cmd "let no_plugin_maps = 1" -c "runtime! macros/less.vim" %*
)