Saturday, October 22, 2016

Re: A problem (bug?) with = and remapping

On 22/10/2016 11:14, Lifepillar wrote:
> Hello,
> I have a problem with a plugin I am writing. To reproduce [snip]

Ok, I think that my example may be reduced to the following:

fun! G()
return "\<c-c>k"
endf

fun! F()
return "\<c-r>=G()\<cr>"
endf

imap <expr> <tab> F()

Is there a way to have this working (i.e., have <c-c> remapped to what
the SQL filetype defines)?

Thanks,
Life.


--
--
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

---
You received this message because you are subscribed to the Google Groups "vim_use" group.
To unsubscribe from this group and stop receiving emails from it, send an email to vim_use+unsubscribe@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

No comments: