formatting
This commit is contained in:
parent
db5a92e88c
commit
b1c6390461
13
init.org
13
init.org
|
@ -271,7 +271,7 @@ Light theme for writing
|
|||
|
||||
Manage themes, use dark-theme by default:
|
||||
#+begin_src emacs-lisp
|
||||
(defvar nemo/dark-theme 'doom-one)
|
||||
(defvar nemo/dark-theme 'gruvbox-dark-medium)
|
||||
(defvar nemo/light-theme 'gruvbox-light-medium)
|
||||
|
||||
(add-hook 'after-init-hook (lambda () (load-theme nemo/dark-theme t)))
|
||||
|
@ -287,10 +287,12 @@ Disable themes before loading a new one, from [[https://github.com/larstvei/dot-
|
|||
Helper function for switching themes.
|
||||
#+begin_src emacs-lisp
|
||||
(defun nemo/set-light-theme ()
|
||||
"load the light theme."
|
||||
(interactive)
|
||||
(load-theme nemo/light-theme t))
|
||||
|
||||
(defun nemo/set-dark-theme ()
|
||||
"load the dark theme."
|
||||
(interactive)
|
||||
(load-theme nemo/dark-theme t))
|
||||
#+end_src
|
||||
|
@ -331,7 +333,6 @@ Use both fixed and variable pitched fonts and faces.
|
|||
#+begin_src emacs-lisp
|
||||
(use-package mixed-pitch
|
||||
:straight t
|
||||
:defer t
|
||||
:hook ((org-mode . mixed-pitch-mode)
|
||||
(LaTeX-mode . mixed-pitch-mode)))
|
||||
#+end_src
|
||||
|
@ -623,6 +624,10 @@ Also use =undo-fu=, which evil can use.
|
|||
(use-package rg
|
||||
:straight t
|
||||
:defer t)
|
||||
|
||||
(use-package wgrep
|
||||
:straight t
|
||||
:defer t)
|
||||
#+end_src
|
||||
|
||||
** VTerm
|
||||
|
@ -756,7 +761,7 @@ In case LaTeX previews are too small, use this to increase them.
|
|||
(plist-put org-format-latex-options :scale 1.35)
|
||||
#+end_src
|
||||
|
||||
==pretty-entities= allows for latex symbols to be embedded into org-mode.
|
||||
=pretty-entities= allows for latex symbols to be embedded into org-mode.
|
||||
=org-hide-leading-stars= hides all but one star on org headings.
|
||||
#+begin_src emacs-lisp
|
||||
(setq org-adapt-indentation t
|
||||
|
@ -765,7 +770,7 @@ In case LaTeX previews are too small, use this to increase them.
|
|||
org-pretty-entities t)
|
||||
#+end_src
|
||||
|
||||
Let emacs act according to the language's rules inside of a source block.
|
||||
Let Emacs act according to the language's rules inside of a source block.
|
||||
#+begin_src emacs-lisp
|
||||
(setq org-src-fontify-natively t
|
||||
org-src-tab-acts-natively t
|
||||
|
|
Loading…
Reference in a new issue