emacs: Adapt navigation in latex mode
This commit is contained in:
@ -91,6 +91,13 @@
|
||||
(map! :map org-mode-map :nvi "C-h" #'org-up-element)
|
||||
(map! :map org-mode-map :nvi "C-l" #'org-down-element)
|
||||
|
||||
(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)
|
||||
|
||||
;; Spell checking settings
|
||||
;; TODO make toggling of spell checking ('SPC t s') use flyspell-mode in text modesm and flyspell-prog-mode in programming modes (see hooks below)
|
||||
;; Removing hooks for automatic spell checking set here: https://github.com/hlissner/doom-emacs/blob/develop/modules/checkers/spell/config.el
|
||||
|
Reference in New Issue
Block a user