Automatically insert a matching brace in Vim

前端 未结 18 2525
醉梦人生
醉梦人生 2020-12-13 05:23

I spend way too much time fumbling around because Vim doesn\'t handle closing braces like most IDEs do. Here\'s what I want to happen:

Type this:

         


        
18条回答
  •  一整个雨季
    2020-12-13 06:18

    Install and use Vim script AutoClose as recommended in the article titled Automatically append closing characters.

提交回复
热议问题