The following mapping works:
imap C-L C-O:call SelectImapOrUlti()CR
I'm not 100% sure why C-R=SelectImapOrUlti()CR doesn't work,
but I guess because it's only meant to insert text.
Btw. the LaTeX-Suite might not be the best solution. Here's what
the bot vimgor
On Mon, Aug 20, 2012 at 08:58:24PM -0700, skeept wrote:
Thanks for the help, I still have some issues.
I cannot make the first mapping work properly when called from
the function, so I cannot make the hole thing work.
Right now just for the first mapping the function looks like:
function!
On Wednesday, August 22, 2012 4:30:44 PM UTC-5, Simon Ruderich wrote:
Btw. the LaTeX-Suite might not be the best solution. Here's what
the bot vimgor (from Freenode/#vim) has to say about it:
vimgor A slightly-maintained, buggy, over-complicated plugin
intended
Hi,
Suppose I have two functions Func1 and Func2. I would like to know if it is
possible to define a imap that first calls Func1
(imap f1 c-r:call Func1()CR)
if the cursor moves as a result of this call then we are done, otherwise it
would call Func2 after calling Func1.
Thank you.
--
You
On Monday, August 20, 2012 6:23:53 PM UTC-4, Simon Ruderich wrote:
On Mon, Aug 20, 2012 at 01:42:04PM -0700, skeept wrote:
Hi,
Suppose I have two functions Func1 and Func2. I would like to
know if it is possible to define a imap that first calls Func1
(imap f1 c-r:call