Automatically closing braces in Emacs?

前端 未结 4 1654
臣服心动
臣服心动 2020-12-05 13:30

I\'ve seen a plugin for Vim called AutoClose (discovered from this post) which automatically adds the closing brace when typing \'(\', \'{\' etc.

For example; when I

4条回答
  •  -上瘾入骨i
    2020-12-05 14:04

    I'm gonna necro this thread and provide another alternative. There's a recently started new project that deals with auto-insertion of pairs, wrapping of regions, navigation around balanced expressions and much much more. The list of features is too long to give here, so I'll just link to the smartparens github repo where you can read detailed readme.

    It is superset of the aforementioned AutoPair and provide most of the core features of paredit (and extended to all kinds of different pairs, not only those recognized by emacs syntax-tables).

提交回复
热议问题