On 2011-02-03 ZyX <[email protected]> wrote: > > How can I perform the command from the command line? A > Try > execute "normal i\<Plug>IMAP_JumpBack"
Thanks that works. > . And what for do you need to invoke it from command line? It's just for testing. It also works from within a vim script. The next step is to put it in a lua script. But I'm not successfull. I tried something like: vim.eval"<Plug>IMAP_JumpBack" But it's not working. How to call this from within lua? > By the way, > IMAP_Jumpfunc is not in a documented API, so you should not rely on this > mapping being the same for newer version. What elst can I rely on? Only the <C-R> mapping? I want to remap <C-R> with my own function and at the end of my own function I want to call the function of the former mapping. > I sometimes change internal > implementation of my plugin features without notice, but try to keep public > API backwards compatible or at least notify about changes. I believe this > is common in developers world, especially for (relatively) small vim > plugins. What is a better way, if I want my own mapping but still need the functionality of the former mapping? Regards Marco -- 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
