2

I used to use Spacemacs and it had this nifty feature where a selection could be bracketed with quotes, parentheses or any similar pair characters by simply pressing the character.

So UpdateJob could be converted to "UpdateJob" by selecting the name and pressing ". Or setq-default line-spacing 0.3 could be converted to (setq-default line-spacing 0.3) by selecting the entire text and pressing (

How do I do this with doom-emacs

1 Answer 1

2

Emacs 24 came with electric-pair-mode

You can enable it globally with (electric-pair-mode 1)

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge that you have read and understand our privacy policy and code of conduct.

Not the answer you're looking for? Browse other questions tagged or ask your own question.