avid Fishburn schrieb:
> 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.
.... caused by the above mapping for "@"?
What happens if you do
:normal @aFoo
> :normal! @a
> This also breaks inside my function, bad.
.... caused by the "w" in the recorded "dw", I suppose.
> The ! at the end of the normal command is supposed to prevent maps
> from firing.
It does. :norm! @a executes the builtin "@a", which executes the
recorded sequence as if typed.
> 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.
> Dave
If you see the recorded commands as the right hand side of a mapping,
then "remapping" cannot be prevented.
What about feedkeys(@a, "n")?
What is the final goal of your research?
--
Andy
--~--~---------~--~----~------------~-------~--~----~
You received this message from the "vim_use" maillist.
For more information, visit http://www.vim.org/maillist.php
-~----------~----~----~----~------~----~------~--~---