emacs: Adapt navigation in latex mode

This commit is contained in:
2022-09-27 11:32:20 +02:00
parent a03e06f132
commit c997a50f27
3 changed files with 18 additions and 1 deletions

View File

@ -110,6 +110,16 @@
(map! :map org-mode-map :nvi "C-l" #'org-down-element)
#+end_src
** TeX
#+begin_src emacs-lisp :tangle yes
(map! :map TeX-mode-map :nvi "<backtab>" #'outline-cycle-buffer)
(map! :map TeX-mode-map :nvi "<tab>" #'outline-cycle)
(map! :map TeX-mode-map :nvi "C-k" #'outline-backward-same-level)
(map! :map TeX-mode-map :nvi "C-j" #'outline-forward-same-level)
(map! :map TeX-mode-map :nvi "C-h" #'outline-up-heading)
(map! :map TeX-mode-map :nvi "C-l" #'outline-next-heading)
#+end_src
** Spell Checking
#+begin_src emacs-lisp :tangle yes

View File

@ -144,7 +144,7 @@
;;javascript ; all(hope(abandon(ye(who(enter(here))))))
;;julia ; a better, faster MATLAB
;;kotlin ; a better, slicker Java(Script)
latex ; writing papers in Emacs has never been so fun
(latex) ; writing papers in Emacs has never been so fun
;;lean ; for folks with too much to prove
;;ledger ; be audit you can be
;;lua ; one-based indices? one-based indices