.
This commit is contained in:
@@ -1,8 +1,57 @@
|
||||
* Emacs Configuration
|
||||
|
||||
** Paths
|
||||
#+BEGIN_SRC emacs-lisp
|
||||
(require 'package)
|
||||
(add-to-list 'package-archives '("melpa" . "https://melpa.org/packages/"))
|
||||
(require 'package)
|
||||
(add-to-list 'package-archives
|
||||
'("melpa" . "https://melpa.org/packages/")
|
||||
)
|
||||
#+END_SRC
|
||||
***
|
||||
|
||||
** Theme
|
||||
#+BEGIN_SRC emacs-lisp
|
||||
;; Add themes inside "~/.emacs.d/themes/" to loaded themes
|
||||
(add-to-list 'custom-theme-load-path "~/.emacs.d/themes/")
|
||||
(load-theme 'forest-blue t)
|
||||
#+END_SRC
|
||||
|
||||
*** customize-theme
|
||||
#+BEGIN_SRC emacs-lisp
|
||||
(custom-set-faces
|
||||
'(font-latex-bold-face ((t (:foreground "brightcyan"))))
|
||||
'(font-latex-sedate-face ((t (:foreground "brightcyan"))))
|
||||
'(font-lock-comment-face ((t (:foreground "color-142"))))
|
||||
'(font-lock-doc-face ((t (:foreground "color-83"))))
|
||||
'(font-lock-keyword-face ((t (:foreground "brightcyan" :weight bold))))
|
||||
'(font-lock-type-face ((t (:foreground "green"))))
|
||||
'(highlight-indentation-face ((t (:background "green")))))
|
||||
|
||||
#+END_SRC
|
||||
|
||||
** Own functions
|
||||
#+BEGIN_SRC emacs-lisp
|
||||
|
||||
#+END_SRC
|
||||
** Keybindings
|
||||
|
||||
** Plugins
|
||||
|
||||
*** Smartparens
|
||||
#+BEGIN_SRC emacs-lisp
|
||||
(require 'smartparens-config)
|
||||
#+END_SRC
|
||||
|
||||
*** LaTeX/AuCeX
|
||||
#+BEGIN_SRC emacs-lisp
|
||||
(require 'tex)
|
||||
(setq TeX-auto-save t)
|
||||
(setq TeX-parse-self t)
|
||||
(setq TeX-close-quote "")
|
||||
(setq TeX-open-quote "")
|
||||
(setq-default TeX-Master nil)
|
||||
#+END_SRC
|
||||
|
||||
** Mode-Hooks
|
||||
#+BEGIN_SRC emacs-lisp
|
||||
(add-hook 'org-mode-hook 'smartparens-strict-mode)
|
||||
#+END_SRC
|
||||
|
||||
|
||||
Reference in New Issue
Block a user