summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRavi R Kiran <aine.marina@gmail.com>2015-06-10 05:02:14 (GMT)
committerRavi R Kiran <aine.marina@gmail.com>2015-06-10 05:02:14 (GMT)
commitaa2abd8d05eee20e8c5586a6bc4174dc281e7c9b (patch)
tree08ec7263294202ff73af27cb223a050867309741
parent6fd19a8402fb4b11d39a1abb5965bb5bf8d7d024 (diff)
downloaddotemacs-aa2abd8d05eee20e8c5586a6bc4174dc281e7c9b.zip
dotemacs-aa2abd8d05eee20e8c5586a6bc4174dc281e7c9b.tar.gz
dotemacs-aa2abd8d05eee20e8c5586a6bc4174dc281e7c9b.tar.bz2
Smarter whitespace compaction
-rw-r--r--lisp/ravi-init-appearance.el5
1 files changed, 5 insertions, 0 deletions
diff --git a/lisp/ravi-init-appearance.el b/lisp/ravi-init-appearance.el
index 5cfac60..cc7c3b5 100644
--- a/lisp/ravi-init-appearance.el
+++ b/lisp/ravi-init-appearance.el
@@ -113,6 +113,11 @@ Delete all whitespace on a successive key press."
)
:ensure t)
+;; Easier compaction of whitespace
+(use-package shrink-whitespace
+ :bind (("M-SPC" . shrink-whitespace))
+ :ensure t)
+
(setq sentence-end-double-space nil)
(defun sacha/unfill-paragraph (&optional region)
"Takes a multi-line paragraph and makes it into a single line of text."