X-Git-Url: https://git.shemshak.org/~bandali/configs/blobdiff_plain/fd134a2b5330c76b04e8777a8dc001722c706a37..279a98e285014f0cc06fc0f32dd9ec91d2862f6a:/emacs/init.org?ds=inline diff --git a/emacs/init.org b/emacs/init.org index db79586..1e44cab 100644 --- a/emacs/init.org +++ b/emacs/init.org @@ -5,9 +5,18 @@ TODO: description -TODO: toc +* Contents :toc_1:noexport: + +- [[#intro][Intro]] +- [[#header][Header]] +- [[#initial-setup][Initial setup]] +- [[#config][Config]] +- [[#footer][Footer]] * Header +:PROPERTIES: +:CUSTOM_ID: header +:END: ** First line @@ -51,6 +60,9 @@ file. #+end_src * Initial setup +:PROPERTIES: +:CUSTOM_ID: initial-setup +:END: #+begin_src emacs-lisp :comments none ;;; Code: @@ -91,7 +103,7 @@ Reset the variables back to default after init. ** Package management -*** [[https://github.com/raxod502/straight.el][=straight.el=]] +*** =straight.el= #+begin_quote Next-generation, purely functional package manager for the Emacs @@ -189,6 +201,22 @@ it it's own file. (load custom-file)) #+end_src +** Backups + +Emacs' default backup settings aren't that great. Let's use more +sensible options. See documentation for the ~make-backup-file~ +variable. + +#+begin_src emacs-lisp +(setq backup-by-copying t + version-control t) +#+end_src + +* Config +:PROPERTIES: +:CUSTOM_ID: config +:END: + ** Org #+begin_src emacs-lisp @@ -198,6 +226,9 @@ it it's own file. #+end_src * Footer +:PROPERTIES: +:CUSTOM_ID: footer +:END: #+begin_src emacs-lisp :comments none ;;; init.el ends here