summary refs log tree commit diff stats
path: root/tag-emacs
diff options
context:
space:
mode:
Diffstat (limited to 'tag-emacs')
-rw-r--r--tag-emacs/emacs.d/Cask1
-rw-r--r--tag-emacs/emacs.d/init.org10
2 files changed, 11 insertions, 0 deletions
diff --git a/tag-emacs/emacs.d/Cask b/tag-emacs/emacs.d/Cask
index b55830c..bc48c31 100644
--- a/tag-emacs/emacs.d/Cask
+++ b/tag-emacs/emacs.d/Cask
@@ -112,6 +112,7 @@
 (depends-on "s")
 (depends-on "sass-mode")
 (depends-on "scss-mode")
+(depends-on "shrink-whitespace")
 (depends-on "shut-up")
 (depends-on "simple-httpd")
 (depends-on "skewer-mode")
diff --git a/tag-emacs/emacs.d/init.org b/tag-emacs/emacs.d/init.org
index f6d6480..291c802 100644
--- a/tag-emacs/emacs.d/init.org
+++ b/tag-emacs/emacs.d/init.org
@@ -478,6 +478,16 @@ open it.  Whitespace butler fixes whitespace only for lines that I’m editing.
     (add-hook #'before-make-frame-hook (lambda () (ws-butler-global-mode 1))))
 #+END_SRC
 
+** shrink-whitespace
+
+DWIM whitespace removal. So I don’t need =M-SPC=, =M-\= and =C-x o=
+for similar things any more.
+
+#+BEGIN_SRC emacs-lisp
+  (req-package shrink-whitespace
+    :bind ("M-SPC" . shrink-whitespace))
+#+END_SRC
+
 ** fasd
 
 Fasd is a nice shell plugin that remembers file and folder arguments,