Hi, Most of time I want a space after a comma, so I use "imap , , " The problem is, sometime I do not want a comma inside square brackets in some programming language such python and matlab: a[10,:] or a(10,:)
Is there a way to not insert a space based on context around the cursor so that if the text before cursor is [xxx, or (xxx, no space will be inserted? Any tips? Zhang Le