Is there an Ultimate text editor?
post by Johannes C. Mayer (johannes-c-mayer) · 2022-09-11T09:19:51.436Z · LW · GW · 3 commentsThis is a question post.
Contents
[Edit: 2024-09-20] None Answers 4 142857 2 joseph_c 2 jimv 1 Anon User None 3 comments
Is there a text editor that allows me to
-
enter normal text,
-
latex that is rendered in line, but is derendered when my cursor is over the latex,
-
draw images in line directly in the text editor, e.g. using a drawing tablet,
-
has headings like emacs org mode, that you can collapse the headings and nest them arbitrarily deep, and you can rearrange the headings. For example if you think of the headings as trees, we can move an entire subtree of headings at a certain level of depth before or after leaf notes in the tree, e.g. that exists a shortcut, such that I can turn this tree
-
item 1 -item 2
-
item 3
into this one
-
item 3
-
item 1 -item 2
-
Ideally the program would also have a mobile app, where you can edit your notes from.
-
vim mode would be nice too
-
being a zettlekasten like roam research would be nice
Here a program so I already know which don't satisfy all of the requirements. Especially the inline image drawing one.
- obsidian
- emacs org mode
- roam research
- one note
So far nothing seems better than org mode.
[Edit: 2024-09-20]
After using obsidian for 2 years I switched back to Emacs. I made it such that I can use typst [LW(p) · GW(p)]. I preview documents in the browser, so my documents can in principle contain anything that the browser can display (or run!).
To figure out things I first write things on a whiteboard, before writing down text.
Answers
For derendering latex in Emacs, see https://github.com/io12/org-fragtog.
For drawing images in line, you could try https://github.com/misohena/el-easydraw.
↑ comment by Johannes C. Mayer (johannes-c-mayer) · 2022-09-23T19:42:31.197Z · LW(p) · GW(p)
I was thinking more free hand drawing.
With Obsidian, I think you can get the Excalidraw plugin to draw images, though it's not inline (it opens a new pane).
Not a perfect match for your requirements, but with some features that might meet some of the same underlying goals, you might want to take a look at Zettlr.
↑ comment by Johannes C. Mayer (johannes-c-mayer) · 2022-09-11T22:05:34.539Z · LW(p) · GW(p)
This does not have inline images, right? This is basically the most important feature, that is missing from emacs org-mode.
Replies from: jimvDoes not match your requirements exactly, but may come close (source and auto rebuilt PDF side-by-side with synctex to jump from one to another, etc) - VSCode with LaTeX Workshop extension. Not sure what VSCode can do for inline editing of images - but perhaps there is an extension that can help. It is capable of collapsing/expanding sections/subsections in the source view, and I think it does have a tree-style outline editing in a side-pannel too.
3 comments
Comments sorted by top scores.
comment by Rafael Harth (sil-ver) · 2022-09-11T11:00:43.798Z · LW(p) · GW(p)
This question made sense to me for the first four bullet points, then at "item 1 - item2" and "item 3" and then "into this one" I got really confused. You may want to reword it.
Replies from: Ikaxas↑ comment by Vaughn Papenhausen (Ikaxas) · 2022-09-11T16:50:54.099Z · LW(p) · GW(p)
I think the idea is to be able to transform this:
- item 1
- item 2
- item 3
into this:
- item 3
- item 1
- item 2
I.e. it would treat bulleted lists like trees, and allow you to move entire sub-branches of trees around as single units.
Replies from: johannes-c-mayer↑ comment by Johannes C. Mayer (johannes-c-mayer) · 2022-09-11T22:01:17.461Z · LW(p) · GW(p)
Yes, exactly.