some small update
This commit is contained in:
parent
d135f25860
commit
064e0d4881
|
@ -563,6 +563,7 @@ Org-Mode needs to be loaded pretty high in the file so that we are ensuring thin
|
||||||
|
|
||||||
Let's start by creating a self contained function of what I'd like started on every org buffer.
|
Let's start by creating a self contained function of what I'd like started on every org buffer.
|
||||||
#+begin_src emacs-lisp
|
#+begin_src emacs-lisp
|
||||||
|
(setq lpr-command "lpr -o sides=two-sided-long-edge -# ")
|
||||||
(defun chris/org-mode-setup ()
|
(defun chris/org-mode-setup ()
|
||||||
(interactive)
|
(interactive)
|
||||||
(org-indent-mode +1)
|
(org-indent-mode +1)
|
||||||
|
@ -1001,6 +1002,8 @@ Org-Superstar makes the stars at the beginning of the line in =org-mode= a lot p
|
||||||
#+BEGIN_SRC emacs-lisp
|
#+BEGIN_SRC emacs-lisp
|
||||||
(use-package org-modern
|
(use-package org-modern
|
||||||
:config
|
:config
|
||||||
|
|
||||||
|
(setq org-modern-timestamp nil)
|
||||||
|
|
||||||
(custom-set-faces
|
(custom-set-faces
|
||||||
'(org-modern-tag ((t :background "#9aedfe" :foreground "#282a36")))
|
'(org-modern-tag ((t :background "#9aedfe" :foreground "#282a36")))
|
||||||
|
@ -2096,6 +2099,7 @@ I'd like to start learning and using rust if I can.
|
||||||
For developing websites, I like to use web-mode
|
For developing websites, I like to use web-mode
|
||||||
#+begin_src emacs-lisp
|
#+begin_src emacs-lisp
|
||||||
(use-package web-mode
|
(use-package web-mode
|
||||||
|
:mode "\\.html\\'"
|
||||||
:config
|
:config
|
||||||
(add-to-list 'auto-mode-alist '("\\.html?\\'" . web-mode))
|
(add-to-list 'auto-mode-alist '("\\.html?\\'" . web-mode))
|
||||||
(add-to-list 'auto-mode-alist '("\\.phtml?\\'" . web-mode))
|
(add-to-list 'auto-mode-alist '("\\.phtml?\\'" . web-mode))
|
||||||
|
|
4
init.el
4
init.el
|
@ -298,6 +298,7 @@
|
||||||
:config
|
:config
|
||||||
(global-evil-surround-mode +1))
|
(global-evil-surround-mode +1))
|
||||||
|
|
||||||
|
(setq lpr-command "lpr -o sides=two-sided-long-edge -# ")
|
||||||
(defun chris/org-mode-setup ()
|
(defun chris/org-mode-setup ()
|
||||||
(interactive)
|
(interactive)
|
||||||
(org-indent-mode +1)
|
(org-indent-mode +1)
|
||||||
|
@ -679,6 +680,8 @@
|
||||||
|
|
||||||
(use-package org-modern
|
(use-package org-modern
|
||||||
:config
|
:config
|
||||||
|
|
||||||
|
(setq org-modern-timestamp nil)
|
||||||
|
|
||||||
(custom-set-faces
|
(custom-set-faces
|
||||||
'(org-modern-tag ((t :background "#9aedfe" :foreground "#282a36")))
|
'(org-modern-tag ((t :background "#9aedfe" :foreground "#282a36")))
|
||||||
|
@ -1443,6 +1446,7 @@ targets."
|
||||||
rustic-lsp-client 'eglot))
|
rustic-lsp-client 'eglot))
|
||||||
|
|
||||||
(use-package web-mode
|
(use-package web-mode
|
||||||
|
:mode "\\.html\\'"
|
||||||
:config
|
:config
|
||||||
(add-to-list 'auto-mode-alist '("\\.html?\\'" . web-mode))
|
(add-to-list 'auto-mode-alist '("\\.html?\\'" . web-mode))
|
||||||
(add-to-list 'auto-mode-alist '("\\.phtml?\\'" . web-mode))
|
(add-to-list 'auto-mode-alist '("\\.phtml?\\'" . web-mode))
|
||||||
|
|
Loading…
Reference in a new issue