Sunday, September 28, 2014

Re: command-line commands instead of abbreviations?

On Sunday, September 28, 2014 7:08:47 PM UTC-5, Eric Christopherson wrote:
> On Sun, Sep 28, 2014, Ben Fritz wrote:
> > Easy solution: use a :normal! command within your command definition, to insert the text with 'a'.
>
> >
>
> > E.g. :command тл normal! aтру-ля-ля
>
>
>
> That appears to be an invalid command name, as does the capitalized
>
> variant Тл. Perhaps non-Roman scripts aren't supported as command names?

Probably. I didn't test the command as written since I can't actually enter those keys on my keyboard.

You could use a mapping instead of a command pretty easily. Does it need to be a command?

--
--
You received this message from the "vim_use" maillist.
Do not top-post! Type your reply below the text you are replying to.
For more information, visit http://www.vim.org/maillist.php

---
You received this message because you are subscribed to the Google Groups "vim_use" group.
To unsubscribe from this group and stop receiving emails from it, send an email to vim_use+unsubscribe@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

No comments:

Post a Comment