Beauty up org mode
This commit is contained in:
@@ -71,12 +71,15 @@
|
|||||||
(global-set-key (kbd "<escape>") 'keyboard-escape-quit)
|
(global-set-key (kbd "<escape>") 'keyboard-escape-quit)
|
||||||
|
|
||||||
;; Relative line numbers
|
;; Relative line numbers
|
||||||
(setq-default display-line-numbers 'visual
|
(setq-default display-line-numbers 'relative
|
||||||
display-line-numbers-widen t
|
display-line-numbers-widen t
|
||||||
;; this is the default
|
;; this is the default
|
||||||
display-line-numbers-current-absolute t)
|
display-line-numbers-current-absolute t)
|
||||||
|
|
||||||
|
;; soft wrap
|
||||||
|
(global-visual-line-mode t)
|
||||||
|
|
||||||
|
;; display absolute numbers, when in normal mode
|
||||||
(defun noct:relative ()
|
(defun noct:relative ()
|
||||||
(setq-local display-line-numbers 'visual))
|
(setq-local display-line-numbers 'visual))
|
||||||
|
|
||||||
@@ -221,7 +224,7 @@
|
|||||||
:config
|
:config
|
||||||
(setq which-key-idle-delay 1))
|
(setq which-key-idle-delay 1))
|
||||||
|
|
||||||
;; 80 character limit line in prog mode
|
;; column line
|
||||||
(use-package fill-column-indicator
|
(use-package fill-column-indicator
|
||||||
:straight t
|
:straight t
|
||||||
:defer 1
|
:defer 1
|
||||||
@@ -229,6 +232,7 @@
|
|||||||
(fci-mode)
|
(fci-mode)
|
||||||
:config
|
:config
|
||||||
(setq fci-rule-width 1
|
(setq fci-rule-width 1
|
||||||
|
fci-rule-column 100
|
||||||
fci-rule-color "#cc241d")
|
fci-rule-color "#cc241d")
|
||||||
:hook
|
:hook
|
||||||
(prog-mode . fci-mode)
|
(prog-mode . fci-mode)
|
||||||
@@ -312,7 +316,10 @@
|
|||||||
;; add virtual spaces
|
;; add virtual spaces
|
||||||
(org-mode . org-indent-mode)
|
(org-mode . org-indent-mode)
|
||||||
:config
|
:config
|
||||||
|
;; fonts
|
||||||
|
(set-face-attribute 'org-document-title nil :font "Product Sans" :weight 'bold :inherit 'default :height 250)
|
||||||
(setq org-format-latex-options (plist-put org-format-latex-options :scale 1.5)
|
(setq org-format-latex-options (plist-put org-format-latex-options :scale 1.5)
|
||||||
|
org-hidden-keywords '(title setupfile)
|
||||||
org-image-actual-width nil
|
org-image-actual-width nil
|
||||||
org-agenda-files (quote ("~/org"))
|
org-agenda-files (quote ("~/org"))
|
||||||
calendar-week-start-day 1
|
calendar-week-start-day 1
|
||||||
|
|||||||
Reference in New Issue
Block a user