Hi,

For some reason my .vimrc must works for multiple versions of Vim.

Now, I found that in Vim 6.1 Tiny version (shipped with Redhat 9), the
following does not work:

command! -nargs=+ TestCmd echo "<args>"
TestCmd my test

The vim saids: Not an editor command: TestCmd my test

It seems that the command define are not available for the Vim 6.1 Tiny
version, but when I :help command, it doesn't show any +xxx feature reqired
for define command.

It would be Okay to disable it in the Tiny version, but I just do not know
how. since it does not reqire +xxxxx feature, I cannot use "if has() endif"
to wrap it.

Any work around?

--
Sincerely, Pan, Shi Zhu. ext: 2606

Reply via email to