Emacs: Make first to org headline levels bigger.

This commit is contained in:
tastytea 2020-05-04 20:43:07 +02:00
parent f282e1c8a0
commit afcd1b7308

View File

@ -1,6 +1,6 @@
;;; misc.el --- Miscellaneous file formats. -*- lexical-binding: t; -*- ;;; misc.el --- Miscellaneous file formats. -*- lexical-binding: t; -*-
;; Time-stamp: <2020-04-25T17:35:23+0200> ;; Time-stamp: <2020-05-04T20:42:50+0200>
;;; Commentary: ;;; Commentary:
@ -112,6 +112,8 @@
:commands (org-mode) :commands (org-mode)
:custom ((org-support-shift-select t) ; Make shift behave normally on text. :custom ((org-support-shift-select t) ; Make shift behave normally on text.
(org-default-notes-file "~/notes.org")) (org-default-notes-file "~/notes.org"))
:config (progn (set-face-attribute 'org-level-1 nil :height 1.4)
(set-face-attribute 'org-level-2 nil :height 1.2))
:bind (("C-c o" . (lambda () (interactive) ; Open notes. :bind (("C-c o" . (lambda () (interactive) ; Open notes.
(find-file org-default-notes-file))) (find-file org-default-notes-file)))
(:map org-mode-map ; Remove some annoying keybindings. (:map org-mode-map ; Remove some annoying keybindings.