annotate runtime/macros/less.sh @ 1546:75f5889a5d8e v7.1.260

updated for version 7.1-260
author vimboss
date Wed, 20 Feb 2008 13:59:32 +0000
parents 3fc0f57ecb91
children b9740fb41986
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
7
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1 #!/bin/sh
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
2 # Shell script to start Vim with less.vim.
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
3 # Read stdin if no arguments were given.
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
4
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
5 if test $# = 0; then
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
6 vim --cmd 'let no_plugin_maps = 1' -c 'runtime! macros/less.vim' -
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
7 else
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
8 vim --cmd 'let no_plugin_maps = 1' -c 'runtime! macros/less.vim' "$@"
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
9 fi