Hi,
I use some maps while I code :
imap ( ()<C-[>i
imap [ []<C-[>i
imap { {}<C-[>i
so that when I put "(" , it writes "()" (same thing for "[" and "{" ). The problem is that when i paste something into Vim :
for (i = 0; i < count; i++) {
tab[i] = something()
}
I get
for (i = 0; i < count; i++) {
tab[i] = something()
}
)]})
Is it possible to avoid the extra brackets?