diff options
-rw-r--r-- | init.el | 27 |
1 files changed, 27 insertions, 0 deletions
diff --git a/init.el b/init.el index c6b1ab1..bb3fff1 100644 --- a/init.el +++ b/init.el | |||
@@ -579,6 +579,8 @@ | |||
579 | (circe-originator-face ((t (:weight bold)))) | 579 | (circe-originator-face ((t (:weight bold)))) |
580 | (circe-prompt-face ((t (:inherit 'circe-my-message-face))))) | 580 | (circe-prompt-face ((t (:inherit 'circe-my-message-face))))) |
581 | 581 | ||
582 | ;;; eshell | ||
583 | |||
582 | (use-package eshell | 584 | (use-package eshell |
583 | :init | 585 | :init |
584 | (defun eshell/emacs (&rest args) | 586 | (defun eshell/emacs (&rest args) |
@@ -603,3 +605,28 @@ | |||
603 | :after esh-mode | 605 | :after esh-mode |
604 | :config | 606 | :config |
605 | (eshell-syntax-highlighting-global-mode 1)) | 607 | (eshell-syntax-highlighting-global-mode 1)) |
608 | |||
609 | ;;; org-mode | ||
610 | (use-package org | ||
611 | :init | ||
612 | (setq org-startup-indented t) | ||
613 | (setq org-src-tab-acts-natively t) | ||
614 | (setq org-hide-emphasis-markers t) | ||
615 | (setq org-fontify-done-headline t) | ||
616 | (setq org-hide-leading-stars t) | ||
617 | (setq org-pretty-entities t) | ||
618 | |||
619 | (font-lock-add-keywords 'org-mode | ||
620 | '(("^ *\\([-+*]\\) " | ||
621 | (0 (prog1 () (compose-region (match-beginning 1) | ||
622 | (match-end 1) | ||
623 | "•")))))) | ||
624 | :hook | ||
625 | (org-mode-hook . (lambda () | ||
626 | (variable-pitch-mode 1) | ||
627 | (visual-line-mode) | ||
628 | (visual-fill-column-mode)))) | ||
629 | |||
630 | (use-package org-bullets | ||
631 | :hook | ||
632 | (org-mode-hook . (lambda () (org-bullets-mode 1)))) | ||