From 0aa1ce1a10a3e222bf22fd818a7d68b093b5cf2b Mon Sep 17 00:00:00 2001 From: Jeremy Dormitzer Date: Tue, 28 Jan 2020 10:05:51 -0500 Subject: [PATCH] Add format-all-the-code --- emacs/init.org | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/emacs/init.org b/emacs/init.org index e804e6f..b4761c0 100755 --- a/emacs/init.org +++ b/emacs/init.org @@ -4755,3 +4755,12 @@ Add the ability to jump to a particular line number in find-file-at-point. "Borr (goto-line ffap-file-at-point-line-number) (setq ffap-file-at-point-line-number nil))) #+END_SRC + +* Format-all-the-code +A package that bundles together common code beautifying tools for many languages (the actual formatting tools still need to be installed separately): +#+BEGIN_SRC emacs-lisp + (use-package format-all + :commands (format-all-buffer) + :init + (leader-def-key "cf" 'format-all-buffer)) +#+END_SRC