> --
> You received this message because you are subscribed to the Google Groups
> "xptemplate" group.
> To post to this group, send email to xptem...@googlegroups.com.
> To unsubscribe from this group, send email to
> xptemplate+...@googlegroups.com.
> For more options, visit this group at
> http://groups.google.com/group/xptemplate?hl=en.
>
--
Kent
default default ...:
do do { .. } while ( .. )
Date
And if I go down to DAte and press enter I get the current date. I
wonder why fun isn't working.
On Mon, Apr 4, 2011 at 10:28 PM, Kent Sibilev <ksr...@gmail.com> wrote:
inoremap <expr> <c-n> pumvisible() ? "\<c-n>" :
"\<c-n>\<c-r>=pumvisible() ? \"\\<lt>down>\" : \"\"\<cr>"
I don't quite understand it because I've taken it from the vim wiki
but it seems as if I can change the meaning of a character depending
on if the popup menu is visible or not. Could I not do the same with
tab? I always want tab to discard the popup menu and execute the
snippet. I never use tab to choose something from a popup I always use
ctrl-n and enter :)
-Martin
2011/4/5 dr-dr xp <drd...@gmail.com>:
Sorry if I'm complicating things but I would really want to use both
of these plugins. It worked with snipMate but I wanted to use
xptemplate because it's being actively developed and supports more
features :)
2011/4/5 dr-dr xp <drd...@gmail.com>:
--
You received this message because you are subscribed to the Google Groups "xptemplate" group.
To post to this group, send email to xptem...@googlegroups.com.
To unsubscribe from this group, send email to xptemplate+...@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/xptemplate?hl=en.
function funName( ) {
/* cursor */
}
however when I write a name lets say 'var' the autocomple popup is
shown in this case showing 'var_dump'. When I then hit <Tab> again a
tab character is inserted making the code look like this:
function funName ( ) {
/* cursor */
}
Now if I hit <tab> again xptemplate moves me into the parameter
placeholder but the same things happends there.
I thought maybe we could disable auto popup plugin when activating a
template? The plugin as the command AutoComplPopDisable and
AutoComplPopEnable. Could this be used? :)
-Martin
2011/4/5 dr-dr xp <drd...@gmail.com>:
2011/4/11 dr-dr xp <drd...@gmail.com>: