Browse Source

Start playing with `prettify-symbols-mode'

master
Peter J. Jones 4 months ago
parent
commit
bf713dbb21
Signed by: Peter Jones <pjones@devalot.com> GPG Key ID: 9DAFAA8D01941E49
2 changed files with 5 additions and 0 deletions
  1. 1
    0
      lisp/modes.el
  2. 4
    0
      modes/org-conf.el

+ 1
- 0
lisp/modes.el View File

@@ -45,6 +45,7 @@
(which-key-mode) ; Remind me what keys do.
(minions-mode) ; Hide some minor modes.
(direnv-mode) ; Respect .envrc files.
(global-prettify-symbols-mode) ; Replace buffer symbols.

;; Other modes that need to be activated:
(pdf-tools-install) ; Internal PDF viewer

+ 4
- 0
modes/org-conf.el View File

@@ -192,6 +192,10 @@
(evil-define-key 'normal evil-org-mode-map "gk" #'outline-up-heading)
(evil-define-key 'motion evil-org-mode-map "gk" #'outline-up-heading)

;; Makes things prettier:
(push '("[ ]" . "☐") prettify-symbols-alist)
(push '("[X]" . "☑") prettify-symbols-alist)
(push '("[-]" . "❍") prettify-symbols-alist)

;; Extra Bindings
(org-defkey org-mode-map "\C-\M-f" 'org-metaright)

Loading…
Cancel
Save