Closed skeept closed 12 years ago
I'm not sure, echofunc overwrites previous mappings from what I could see. If you can prevent that from happening you could try something like this:
ino <Plug>echofunc( (<c-r>=EchoFunc()<cr>
ino <Plug>echofunc)<c-r>=EchoFuncClear()<cr>)
imap <silent> ( <Plug>echofunc(<Plug>delimitMate(
imap <silent> ) <Plug>echofunc)<Plug>delimitMate)
Good luck!
Thanks, based on your suggestions I did the following: First I went to echofunc and commented the lines where the mappings for ( and ) are defined. Next I created a file in after/plugin with the contents:
imap <silent> ( <Plug>delimitMate(<c-r>=EchoFunc()<cr>
and now I can use both plugins together. I don't understand why but in the line above I have to use imap instead of inoremap. If I use inoremap it doesn't work.
Thanks again.
The reason is that you need to expand the
Hi
I really like this plugin. I would also be able to use together with another plugin echofunc that displays the prototype of the function when I type (.
Is there a way of using both together?
Thanks.