less.bat 290 B

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