add bindings to navigate between errors in tex mode

This commit is contained in:
Olivier Verdier 2017-09-18 09:29:20 +02:00 committed by duianto
parent 2cfcf54458
commit 7818fa3ccf
3 changed files with 8 additions and 0 deletions

View File

@ -1765,6 +1765,10 @@ Other:
- Enable auto indent when paste. Remove =latex-mode= from
=spacemacs-yank-indent-modes= to disable it (thanks to bet4it)
- Added support for =company-reftex= (thanks to et2010)
- Added bindings to navigate between errors in tex mode:
- ~SPC m n~ goto next error
- ~SPC m N~ goto previous error
(thanks to Olivier Verdier)
**** Lua
- Added support for auto-completion with =company= (thanks to halfcrazy)
**** Language Server Protocol (LSP)

View File

@ -129,6 +129,8 @@ By default, the underlying latex code is echoed in the echo area.
| ~SPC m k~ | kill TeX job |
| ~SPC m l~ | recenter output buffer |
| ~SPC m m~ | insert LaTeX macro |
| ~SPC m n~ | goto next error |
| ~SPC m N~ | goto previous error |
| ~SPC m s~ | insert LaTeX section |
| ~SPC m v~ | view output |
| ~SPC m h d~ | TeX documentation, can be very slow |

View File

@ -64,6 +64,8 @@
"k" 'TeX-kill-job ;; C-c C-k
"l" 'TeX-recenter-output-buffer ;; C-c C-l
"m" 'TeX-insert-macro ;; C-c C-m
"n" 'TeX-next-error ;; C-c `
"N" 'TeX-previous-error ;; M-g p
"v" 'TeX-view ;; C-c C-v
;; TeX-doc is a very slow function
"hd" 'TeX-doc