From bab9a08a9e7181a8ecd90ee5b088419988c51ca2 Mon Sep 17 00:00:00 2001 From: Miquel Sabaté Solà Date: Mon, 11 Jun 2018 11:52:36 +0200 Subject: emacs: added electric-pair-mode MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Miquel Sabaté Solà --- emacs/init.org | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'emacs') diff --git a/emacs/init.org b/emacs/init.org index 6c3d1ca..96c9e8b 100644 --- a/emacs/init.org +++ b/emacs/init.org @@ -645,6 +645,12 @@ supports it). :ensure t) #+END_SRC +Enable =electric-pair-mode=, which automatically closes pairs like brackets: + +#+BEGIN_SRC elisp +(electric-pair-mode 1) +#+END_SRC + I never use the mouse. #+BEGIN_SRC elisp -- cgit v1.2.3