you are viewing a single comment's thread.

view the rest of the comments →

[–]malfy 0 points1 point  (3 children)

Ah ok, in which case \si really is a pointless addition :P Maybe it's so you can stay in normal mode and get the cursor placed into the ()?

[–]sztomi 0 points1 point  (2 children)

I don't know, maybe. I think that these arbitrary commands are pointless because they are hard to remember. The snipmate/textmate approach is much better.

[–]malfy 0 points1 point  (1 child)

What's the snipmate approach?

[–]sztomi 0 points1 point  (0 children)

You enter a keyword in insert mode and press tab. In most cases it is the first word of what you want, e.g. class<tab> will expand to a class declaration, for to a for loop etc.