summaryrefslogtreecommitdiffstats
path: root/emacs/.emacs.d/init.org
diff options
context:
space:
mode:
authorGravatar Tom Willemse2014-10-31 14:52:03 +0100
committerGravatar Tom Willemse2014-10-31 14:52:03 +0100
commitca2ce63ae050f044f17df40d40e9875e3c350f3c (patch)
tree243a44684fa9950a49c71f79f352b915f2b08b6a /emacs/.emacs.d/init.org
parentf170652c77e73c67bcc5e9ace3ad22e40ed84a03 (diff)
downloaddotfiles-ca2ce63ae050f044f17df40d40e9875e3c350f3c.tar.gz
dotfiles-ca2ce63ae050f044f17df40d40e9875e3c350f3c.zip
Chomp whitespace when closing delimiters
Diffstat (limited to 'emacs/.emacs.d/init.org')
-rw-r--r--emacs/.emacs.d/init.org9
1 files changed, 9 insertions, 0 deletions
diff --git a/emacs/.emacs.d/init.org b/emacs/.emacs.d/init.org
index f138eb2..398551c 100644
--- a/emacs/.emacs.d/init.org
+++ b/emacs/.emacs.d/init.org
@@ -1011,6 +1011,15 @@
)))
#+END_SRC
+* Remove whitespace when closing delimiters
+
+ In =electric-pair-mode=, skip over and delete white space if it stands
+ between the cursor and the closing delimiter.
+
+ #+BEGIN_SRC emacs-lisp
+ (setq electric-pair-skip-whitespace 'chomp)
+ #+END_SRC
+
* Programming
Emacs is a real programmer's editor, especially so because it's so