configured outline-minor-mode and outline magic for latex
This commit is contained in:
parent
b44e137d89
commit
7ebb31c922
29
conf.org
29
conf.org
|
@ -1890,6 +1890,29 @@ I have current have three contexts, personal and two work accounts. The first is
|
|||
;; for composing rich-text emails using org mode
|
||||
org-mu4e-convert-to-html t))
|
||||
#+END_SRC
|
||||
** auctex
|
||||
#+BEGIN_SRC emacs-lisp
|
||||
(load "auctex.el" nil t t)
|
||||
(require 'tex-mik)
|
||||
|
||||
(setq TeX-view-program-selection '(((output-dvi has-no-display-manager)
|
||||
"dvi2tty")
|
||||
((output-dvi style-pstricks)
|
||||
"dvips and gv")
|
||||
(output-dvi "xdvi")
|
||||
(output-pdf "Okular")
|
||||
(output-html "xdg-open")))
|
||||
|
||||
;; remove ugly section size
|
||||
(setq font-latex-fontify-sectioning 'color)
|
||||
|
||||
(add-hook 'LaTeX-mode-hook (lambda () (outline-minor-mode 1)))
|
||||
(add-hook 'Tex-latex-mode-hook (lambda () (outline-minor-mode 1)))
|
||||
|
||||
(use-package outline-magic
|
||||
:ensure t
|
||||
:after outline)
|
||||
#+END_SRC
|
||||
** bibtex
|
||||
#+BEGIN_SRC emacs-lisp
|
||||
(use-package org-ref
|
||||
|
@ -2086,7 +2109,7 @@ Most packages that don't have an evil version are in this one. I don't like surp
|
|||
:ensure t
|
||||
:after evil
|
||||
:init
|
||||
(setq evil-collection-modes-list
|
||||
(setq evil-collection-mode-list
|
||||
'(dired flycheck company which-key helm minibuffer mu4e ediff
|
||||
term))
|
||||
(setq evil-collection-setup-minibuffer t)
|
||||
|
@ -2151,6 +2174,10 @@ These are for mode-specific bindings that can/should be outside of the evil maps
|
|||
(define-key helm-command-prefix (kbd "b") 'helm-bibtex)
|
||||
(define-key helm-command-prefix (kbd "<f8>") 'helm-resume)
|
||||
#+END_SRC
|
||||
*** outline-magic
|
||||
#+BEGIN_SRC emacs-lisp
|
||||
(define-key outline-minor-mode-map (kbd "<tab>") 'outline-cycle)
|
||||
#+END_SRC
|
||||
** global
|
||||
#+BEGIN_SRC emacs-lisp
|
||||
(global-set-key (kbd "<f1>") 'org-agenda)
|
||||
|
|
Loading…
Reference in New Issue