-
I am unable to reply to any comments, so I’ll add my reply to blagie as a top-level comment instead: Gilles himself documents his process of using Inkscape here: castel.dev/post/lecture-notes-2/
As a summary, he uses a custom keyboard shortcut manager¹ which allows him to compos multiple keystrokes (and also saves commonly used styles):
> For example, when I press `s` and `f` simultaneously, my shortcut manager will apply a solid stroke and a grey fill to the current selection. When I want the stroke to be thick, I press `s+f+g` together, where `g` stands for thick (as the `t` key is hard to reach).
[1]: he makes it available on GitHub: https://github.com/gillescastel/inkscape-shortcut-manager
-
CodeRabbit
CodeRabbit: AI Code Reviews for Developers. Revolutionize your code reviews with AI. CodeRabbit offers PR summaries, code walkthroughs, 1-click suggestions, and AST-based analysis. Boost productivity and code quality across all major languages with each PR.
-
I created a similar toolset using UltiSnips and vimtex, which I demonstrated here: https://www.reddit.com/r/unixporn/comments/jtjol5/cinnamon_l...
The dotfiles powering the demo (particularly, the UltiSnips folder) are at my github: https://github.com/ykonstant1/dotfiles
-
There's YASnippet, which could be used in much the same way as the tools that were described.
https://github.com/joaotavora/yasnippet
-
-
For writing math notes (especially in vim), I switch to using Typst (https://typst.app).
Here's a few points:
- The syntax is a lot lighter and easier to type fast. I was up and running in half hour after starting to use it. Once in a while I can look up some symbol name in the docs but that's about it.
- Empty document is a valid document. No preambles, no includes etc, it's all optional and the defaults are sensible. Just start typing.
- It's incremental. Live preview from neovim is in the browser and it's lightning fast, pretty much immediate. No pdf sync pain. No build files, makefiles and all that. Just start typing.
While it's not going to beat latex in terms of serious academic use, for personal use and notes it's close to perfect.
(And of course it's written in Rust...)
-
Given that we're in a vim story, I'll reply with a little vim tip…
Vim has digraph support built-in¹, so for your example the first few digraphs are In, p, >=, h. It is also how I typed the ellipsis on the first line of this comment(,.).
A more complete Unicode solution for vim is available in Christian Brabandt's excellent plugin².
¹ https://vimhelp.org/digraph.txt.html
² https://github.com/chrisbra/unicode.vim