Bram Moolenaar | 071d427 | 2004-06-13 20:20:40 +0000 | [diff] [blame] | 1 | #!/bin/sh |
2 | # Shell script to start Vim with less.vim. | ||||
3 | # Read stdin if no arguments were given. | ||||
4 | |||||
5 | if test $# = 0; then | ||||
6 | vim --cmd 'let no_plugin_maps = 1' -c 'runtime! macros/less.vim' - | ||||
7 | else | ||||
8 | vim --cmd 'let no_plugin_maps = 1' -c 'runtime! macros/less.vim' "$@" | ||||
9 | fi |