From 86ff9bac8178ab3adaf7c94676b00e69c2d39d5a Mon Sep 17 00:00:00 2001 From: Alan Pearce Date: Thu, 27 Aug 2015 08:54:57 +0200 Subject: Emacs: Install shrink-whitespace --- tag-emacs/emacs.d/Cask | 1 + tag-emacs/emacs.d/init.org | 10 ++++++++++ 2 files changed, 11 insertions(+) (limited to 'tag-emacs') diff --git a/tag-emacs/emacs.d/Cask b/tag-emacs/emacs.d/Cask index b55830c8..bc48c31e 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 f6d64809..291c802a 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, -- cgit 1.4.1