From 2abd4ff41b00b260e9391ddaf592eca8b021a512 Mon Sep 17 00:00:00 2001 From: luxick Date: Fri, 25 Sep 2020 14:52:22 +0200 Subject: [PATCH] Misc formatting --- README.org | 20 +++++++++----------- init.el | 2 +- 2 files changed, 10 insertions(+), 12 deletions(-) diff --git a/README.org b/README.org index 355a33f..e70fd7a 100644 --- a/README.org +++ b/README.org @@ -15,7 +15,6 @@ Remove all those UI elements. They do not look good and waste space. (tooltip-mode -1) (fringe-mode -1) #+END_SRC - * Set up package repositories ** Require package support State that we will need package support and define a macro for adding package repos to the archives @@ -35,19 +34,17 @@ State that we will need package support and define a macro for adding package re ** Ensure ~use-package~ command is present #+BEGIN_SRC emacs-lisp - (package-initialize) + (package-initialize) - (unless (package-installed-p 'use-package) - (package-refresh-contents) - (package-install 'use-package)) + (unless (package-installed-p 'use-package) + (package-refresh-contents) + (package-install 'use-package)) - (require 'use-package) + (require 'use-package) - (setq - use-package-always-ensure t - use-package-verbose t) + (setq use-package-always-ensure t) - (use-package gnu-elpa-keyring-update) + (use-package gnu-elpa-keyring-update) #+END_SRC * Set Backup Location @@ -308,7 +305,8 @@ The most important parts are configuring key bindings to quickly access the file ("C-c a s" . org-emphasize) ("C-c a r" . org-ref) ("C-c a e" . outline-show-all) - ("C-c a t" . unindent-by-four)) + ("C-c a t" . unindent-by-four) + ("C-c -" . org-edit-special)) :hook ((org-mode . visual-line-mode) (org-mode . variable-pitch-mode) (org-mode . org-indent-mode)) diff --git a/init.el b/init.el index 9bf916a..7bcd13e 100644 --- a/init.el +++ b/init.el @@ -1,7 +1,7 @@ ;; init.el -- Marcel Fries ;; Configure emacs in a literate style from an org file. -;; The file sould be named "setup-emacs.org". It should be located in your ".emacs.d" directory. +;; The file sould be named "README.org". It should be located in your ".emacs.d" directory. ;; Source at https://git.sr.ht/~luxick/emacs-config (require 'org)