Browse Source

Disable helpful line-numbers, remove unneeded :defer t

master
Riyyi 4 years ago
parent
commit
3dd053c7ef
  1. 18
      .emacs.d/config.org

18
.emacs.d/config.org

@ -348,7 +348,7 @@ Project manager.
**** Org ToC **** Org ToC
Table of Contents Generate table of contents without exporting.
#+BEGIN_SRC emacs-lisp #+BEGIN_SRC emacs-lisp
(use-package toc-org (use-package toc-org
@ -368,8 +368,7 @@ Setup =org-roam=.
(setq org-roam-directory (concat (file-name-directory org-directory) "org/")) (setq org-roam-directory (concat (file-name-directory org-directory) "org/"))
(setq org-roam-verbose nil) (setq org-roam-verbose nil)
(setq org-roam-completion-system 'default) (setq org-roam-completion-system 'default)
(org-roam-mode) (org-roam-mode))
)
#+END_SRC #+END_SRC
Enable [[https://www.orgroam.com/manual/Roam-Protocol.html#Roam-Protocol][Roam-Protocol]], needed to process =org-protocol://= links Enable [[https://www.orgroam.com/manual/Roam-Protocol.html#Roam-Protocol][Roam-Protocol]], needed to process =org-protocol://= links
@ -384,8 +383,7 @@ Setup =org-roam-server=.
#+BEGIN_SRC emacs-lisp #+BEGIN_SRC emacs-lisp
(use-package simple-httpd (use-package simple-httpd
:after org-roam :after org-roam)
)
(use-package org-roam-server (use-package org-roam-server
:after (org-roam simple-httpd) :after (org-roam simple-httpd)
@ -613,18 +611,15 @@ Completion for Org-roam files using its title.
;; A better *help* buffer ;; A better *help* buffer
(use-package helpful (use-package helpful
:defer t) :hook (helpful-mode . dot/hook-disable-line-numbers))
(use-package rainbow-mode (use-package rainbow-mode
:defer t
:hook (prog-mode . rainbow-mode)) :hook (prog-mode . rainbow-mode))
(use-package rainbow-delimiters (use-package rainbow-delimiters
:defer t
:hook (prog-mode . rainbow-delimiters-mode)) :hook (prog-mode . rainbow-delimiters-mode))
(use-package org-bullets (use-package org-bullets
:defer t
:hook (org-mode . org-bullets-mode)) :hook (org-mode . org-bullets-mode))
;; Cmake syntax highlighting ;; Cmake syntax highlighting
@ -637,9 +632,8 @@ Completion for Org-roam files using its title.
;; Mark code after the 80 column range ;; Mark code after the 80 column range
(use-package column-enforce-mode (use-package column-enforce-mode
:defer t :hook (prog-mode . column-enforce-mode)
:custom (column-enforce-comments nil) :custom (column-enforce-comments nil))
:hook (prog-mode . column-enforce-mode))
#+END_SRC #+END_SRC
Possible modern replacement for column-enforce-mode: Possible modern replacement for column-enforce-mode:

Loading…
Cancel
Save