fix: add keybind for latex block insertion
Signed-off-by: Lucas Sta Maria <lucas@priime.dev>
This commit is contained in:
parent
8d596d5a7a
commit
eeb96a742d
1 changed files with 4 additions and 3 deletions
|
@ -1,4 +1,4 @@
|
||||||
;;; latex.el --- Configuration for LaTeX
|
;;; latexconfig.el --- Configuration for LaTeX
|
||||||
;;; Commentary:
|
;;; Commentary:
|
||||||
;; Custom configuration for LaTeX editing
|
;; Custom configuration for LaTeX editing
|
||||||
;;; Code:
|
;;; Code:
|
||||||
|
@ -12,9 +12,10 @@
|
||||||
(defun configure-latex ()
|
(defun configure-latex ()
|
||||||
"Configure my custom LaTex environment."
|
"Configure my custom LaTex environment."
|
||||||
(local-set-key (kbd "C-c C-z") #'custom-compile-latex)
|
(local-set-key (kbd "C-c C-z") #'custom-compile-latex)
|
||||||
|
(local-set-key (kbd "C-c C-b") #'latex-insert-block)
|
||||||
(electric-indent-mode -1))
|
(electric-indent-mode -1))
|
||||||
|
|
||||||
(add-hook 'LaTeX-mode-hook #'configure-latex)
|
(add-hook 'LaTeX-mode-hook #'configure-latex)
|
||||||
|
|
||||||
(provide 'latex)
|
(provide 'latexconfig)
|
||||||
;;; latex.el ends here
|
;;; latexconfig.el ends here
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue