nvim-latex: add `see also` section + a caveat about bépo bindings

This commit is contained in:
Fabrice Mouhartem 2023-10-14 16:41:34 +02:00
parent 480e6a38e2
commit d8c06e9f49
1 changed files with 32 additions and 1 deletions

View File

@ -1,6 +1,7 @@
Title: Neovim as a LaTex Development Environment
Date: 2023-10-14 12:00:00+0200
Date: 2023-10-14 17:00:00+0200
Lang: en
Author: Fabrice
Category: software
@ -177,7 +178,7 @@ is possible now:
prove to be an [interesting
**Remark:** vimtex
**Remark.** vimtex
that their coloration is more accurate than what
[tree-sitter](https://tree-sitter.github.io/tree-sitter/), then if you are using
@ -436,6 +437,32 @@ For instance, synctex is not fully accurate with beamer slides, and just select
the whole slide instead of the selected text. It is still better than nothing
in my opinion, and it's a drawback that every LaTeX IDE is subject to.
Now that everything is set up, you can skim the [vimtex
documentation](https://github.com/lervag/vimtex/blob/master/doc/vimtex.txt) to
look for things you want to activate and learn more about its features.
Keep in mind though that you should not be too greedy, just pick some habits one
at a time in order to ingrain them into your workflow.
You can also expand directly `Neovim` with
[snippets](https://github.com/L3MON4D3/LuaSnip) support for instance to automate
some tasks as LaTeX can be quite verbose from time to time.
I leave you now with some further reading about the topic.
## See Also
* jdhao. [A Complete Guide on Writing LaTeX with Vimtex in
Neovim](https://jdhao.github.io/2019/03/26/nvim_latex_write_preview/). June 2019.
A blogpost that serves the same purpose as this one, eventhough it's not fully
up to date, for instance regarding backward search.
* Gilles Castel. [How I'm able to take notes in mathematics lectures using LaTeX
and Vim](https://castel.dev/post/lecture-notes-1/).
An example of how to streamline writing maths with Neovim, vimtex and
snippets. The goal may not be for everyone (as writing new maths and following
a lecture are not one and the same), but it's still an interesting read. For
instance it presents the `concealment` feature of [vim](https://www.vim.org/)
that makes previewing the result easier.
I also recommend the rest of the blog, as it contains information about
[inkscape](https://inkscape.org/) and how to integrate it with LaTeX.
# Bonus: Key bindings for bépo users
As a [bépo](https://fr.wikipedia.org/wiki/B%C3%A9po) user, I have some remapping
@ -509,6 +536,10 @@ avoid unmapping a mapping that already doesn't exist, which will raise an error
(as I have the (bad?) habit to type `:e` to reload the current file when
thinking, that what triggered this behaviour in my case).
**Remark.** Please also note that it is not fully remapped yet, for instance in the table of
content navigation there are still collisions, as `t` for instance toggles
showing TODOs or `s` toggles the section numbering.
To finish and for the sake of completeness, here follows the bépo-bindings for
zathura, to put in your `zathurarc` file: