David Fishburn wrote:
> Unusual situation here.
>
> Vim 7.2.1-127 WinXP SP3
>
> :map @
> n @ MapsExpression("<SID>", "@", "1")
>
> Now I perform a recorded action to delete a word:
> qadwq
>
> Add a breakpoint to my function:
> :breakadd func MapsExpres*
>
> :normal @a
> This breaks inside my function as expected, good.
>
> :normal! @a
> This also breaks inside my function, bad.
>
> The ! at the end of the normal command is supposed to prevent maps from
> firing.
>
> When I put together a smaller reproducible, it didn't reproduce.
>
> gvim -N -u NONE -U NONE --noplugin tables_ASA.sql
>
> This still reproduces, so it must have something to do with my plugin.
>
> What I am looking for is suggestions so that I can narrow my search.
> Is there anything (Vim options and so on) that could lead to this?
>
> Thanks for any suggestions.
The ":normal! @a" command doesn't map the @a characters. But when
executing the contents of the register you are back to usual behavior.
--
hundred-and-one symptoms of being an internet addict:
155. You forget to eat because you're too busy surfing the net.
/// Bram Moolenaar -- [email protected] -- http://www.Moolenaar.net \\\
/// sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ \\\
\\\ download, build and distribute -- http://www.A-A-P.org ///
\\\ help me help AIDS victims -- http://ICCF-Holland.org ///
--~--~---------~--~----~------------~-------~--~----~
You received this message from the "vim_use" maillist.
For more information, visit http://www.vim.org/maillist.php
-~----------~----~----~----~------~----~------~--~---