Wrapping selecting text in enclosing characters in Emacs

后端 未结 9 1764
情书的邮戳
情书的邮戳 2020-12-24 07:06

In Textmate I can wrap enclosing characters (\'(\', \'[\', \'\"\', etc.) around text by selecting it and hitting the opening character. For example, if I select word<

9条回答
  •  春和景丽
    2020-12-24 07:38

    I'd take a look also at skeleton-mode http://ggorjan.blogspot.com/2007/05/skeleton-pair-mode-in-emacs.html

    It's very flexible expecially for parentheses.

提交回复
热议问题