Hello,

Yakov Lerner <[EMAIL PROTECTED]> wrote:

> I tried '-' and '_' in user-defined command name, both are not accepted
> (like X_Y, X-Y). Is there maybe some  [other] separator that is
> allowed in user-defined command name ?

I'm afraid only uppercase letters can be used

In case you need to define several commands like X-Y, X-Z, X-U, ... then you can
also consider X having a sub command as its first parameter.
This is what I choose in a BuildToolWrapper.vim
-> :BTW echo toolchains()
   :BTW setlocal make
   :BTW addlocal cygwin
   :BTW addlocal STLFilt
   :BTW help
   ...


HTH,

--
Luc Hermitte
http://hermitte.free.fr/vim/

Reply via email to