Make ace jump work in tex mode.
This commit is contained in:
parent
d258be0f94
commit
a7bde1f566
@ -1523,16 +1523,14 @@ window is active in the perspective."
|
|||||||
(defun set-TeX-master ()
|
(defun set-TeX-master ()
|
||||||
(setq TeX-master (guess-TeX-master (buffer-file-name))))
|
(setq TeX-master (guess-TeX-master (buffer-file-name))))
|
||||||
|
|
||||||
(use-package tex-site
|
(use-package tex
|
||||||
:ensure auctex
|
:ensure auctex
|
||||||
:commands TeX-mode
|
:commands TeX-mode
|
||||||
:config
|
:config
|
||||||
(progn
|
(progn
|
||||||
(add-hook 'TeX-mode-hook 'set-TeX-master)
|
(add-hook 'TeX-mode-hook 'set-TeX-master)
|
||||||
(unbind-key "C-j" latex-mode-map)
|
|
||||||
(unbind-key "C-j" LaTeX-mode-map)
|
(unbind-key "C-j" LaTeX-mode-map)
|
||||||
(unbind-key "C-j" TeX-mode-map)
|
(unbind-key "C-j" TeX-mode-map)
|
||||||
(unbind-key "C-j" tex-mode-map)
|
|
||||||
(setq TeX-auto-save t)
|
(setq TeX-auto-save t)
|
||||||
(setq TeX-parse-self t)
|
(setq TeX-parse-self t)
|
||||||
(setq TeX-save-query nil)
|
(setq TeX-save-query nil)
|
||||||
|
Loading…
Reference in New Issue
Block a user