spf13-vim icon indicating copy to clipboard operation
spf13-vim copied to clipboard

How to disable the auto behavior when entering {{

Open haiyamicode opened this issue 14 years ago • 4 comments

When entering 2 consecutive braces, {{, Vim with spf-13 changes it to

{
}

Since i'm writing jinja2 template files, {{ is essential, so how can I disable that behavior?

haiyamicode avatar May 24 '12 16:05 haiyamicode

+1

thelinuxlich avatar Aug 27 '12 16:08 thelinuxlich

See #73 for two solutions.

jaywilliams avatar Aug 27 '12 19:08 jaywilliams

You can also just disable the AutoClose bundle if you never want this to work or on a case-by-case basis by pressing ctrl-v and then the second {. ctrl-v basically tells vim "don't use any plugins for the next character I type"

taxilian avatar Sep 29 '12 04:09 taxilian

I've swapped out the AutoClose bundle with a better one that doesn't get in your way as much. I think for 90% of the people it will be viewed as an improvement (and the other 10% can still use the old plugin in their own fork or local).

See a2b1b34a15d3797b47c86e9d79407bee41833ed7

spf13 avatar Nov 28 '12 22:11 spf13