On Sat, May 17, 2008 at 1:54 PM, TL <[EMAIL PROTECTED]> wrote: > > Repeating commands using the '.' key could be supported for some > actions by having the executing macro @mode node issue a command to > map the '.' key to the same macro. > > I added the following line in the the node @mode vi-delete-line: > > enter-vi-delete-line-mode -> top-level ! text = period > > This should tell the top level mode to execute this command when the > mode exits. It is not working. > > Am I using the '->' feature correctly? Is "top-level" the correct > label for the top level?
The documentation somewhat confusingly refers to the "top-level" mode, but there is, in fact, no mode by that name. Anyway, I don't think we need a name for the top-level mode, because the top-level "mode" is the "state" without a mode. I could be wrong about the need for a name for the top-level mode. Anyway, did you try: enter-vi-delete-line-mode ! text = period This should exit all modes, i.e., enter the top-level mode, and also enter the default input state, which presumably is "command" for you. Edward --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "leo-editor" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/leo-editor?hl=en -~----------~----~----~----~------~----~------~--~---
