Latex keybindings

This commit is contained in:
madmaurice 2017-05-20 20:39:29 +02:00
parent f7c34059e4
commit f9ed99da42

View file

@ -65,6 +65,11 @@
;; *.tex files are Latex-Files
(add-to-list 'auto-mode-alist '("\\.tex\\'" . latex-mode))
;; Extra Latex keybindings
(defun my/latex-keybindings ()
(define-key latex-mode-map (kbd "<f9>") 'recompile))
(add-hook 'latex-mode-hook 'my/latex-keybindings)
;; show parens
(show-paren-mode t)