From d53904813998f8c3b3e65fa58f1775151f0c314c Mon Sep 17 00:00:00 2001 From: Sakooooo <78461130+Sakooooo@users.noreply.github.com> Date: Sat, 16 Sep 2023 07:47:24 +0000 Subject: [PATCH] aaa --- config/emacs/emacs.org | 5 +++++ config/emacs/init.el | 3 +++ 2 files changed, 8 insertions(+) diff --git a/config/emacs/emacs.org b/config/emacs/emacs.org index 1e406228..1032a1ec 100644 --- a/config/emacs/emacs.org +++ b/config/emacs/emacs.org @@ -533,6 +533,11 @@ make sure to setup authinfo (use-package company-box :hook (company-mode . company-box-mode)) #+end_src +*** Formatting +#+begin_src emacs-lisp + (use-package format-all + :hook ('prog-mode-hook . 'format-all-mode)) +#+end_src ** Dired (quick file management in emacs) Dired is a built-in file manager for Emacs that does some pretty amazing things! Here are some key bindings you should try out: *** Key Bindings diff --git a/config/emacs/init.el b/config/emacs/init.el index 7f561101..12cdb6e4 100644 --- a/config/emacs/init.el +++ b/config/emacs/init.el @@ -453,6 +453,9 @@ (use-package company-box :hook (company-mode . company-box-mode)) +(use-package format-all + :hook ('prog-mode-hook . 'format-all-mode)) + (use-package dired :ensure nil :commands (dired dired-jump)