Live data from Hacker News

Leo Editor

leoeditor.com

31–40 of 40 posts

Re: Leo Editor

#31
Leo Editor is a very twisted project. On one side it has very useful ideas, a small but vibrant community, and a very active development...and on the other side it's one of the most user-hostile projects I've ever seen. Not on purpose, though, but purely because of how the project works and grows. There is no dedication to polish it for users, or polish anything at all. There is always an urge to go after the newest hype of the week and wreaking the app with all kind of half-finished garbage.

I've used Leo since around 2015, at which the project was 18 years old, not sure how old the actual implementation was at that point. But the interesting part even back then was how few in this app actually worked, and how many errors it had. The amount of data loss I had in the beginning was interesting. Notable are also all the "creative" poor solutions for certain features. And till this day I will never understand why the file-menu does not follow the established culture, and instead is all according to "gut-feelings".

That said, it has become a bit better in the last years, at least the data losses have been mostly fixed, and some creative solutions have been improved. But I've seen in the 5 years I used Leo many new people coming and going, and I don't think that will ever change. The project itself is much its own greatest obstacle for success, IMHO.

Re: Leo Editor

#32

Earlier quoted context omitted.

I outline my code, and other documents, by using folding in Vim. Plus plugins for Markdown, LaTeX, and other formats generate tables of contents from headers and sections.

Please suggest a good Markdown plugin for VIM - and why you like it. I've given up on the plugins... I'm now editing Markdown in plain VIM and my newest files are org-mode instead.

I use vim-markdown. It's not perfect, but does what I want. Generates a table of contents in a side window, from there I can jump to any heading by putting the cursor on the item and pressing RETURN. The TOC is indented to show heading level, so it serves as an outline. In the main window there are commands to jump to next or previous heading, sibling, heading of current section. It has concealing for bold, italic, and (this one is important) links. It syntax colors code blocks using the syntax file for the language in the block.

I'm making small changes to it, and actually have my own fork on GitHub with a change that I needed. But the developer doesn't seem to tend to it much.

Re: Leo Editor

#33

Earlier quoted context omitted.

I outline my code, and other documents, by using folding in Vim. Plus plugins for Markdown, LaTeX, and other formats generate tables of contents from headers and sections.

Please suggest a good Markdown plugin for VIM - and why you like it. I've given up on the plugins... I'm now editing Markdown in plain VIM and my newest files are org-mode instead.

Not OP, I am using these two https://github.com/masukomi/vim-markdown-folding.git & https://github.com/plasticboy/vim-markdown.git and they work great. I like them because they work fine for me.

Re: Leo Editor

#34
post #17

"Leo is a revolutionary step in the right direction for programming."―Brian Takita Ok, but when was this comment made? Was this in 1998 or in 2020?

And who is Brian Takita and why should one care what he says about some application?

Re: Leo Editor

#35

Earlier quoted context omitted.

Please suggest a good Markdown plugin for VIM - and why you like it. I've given up on the plugins... I'm now editing Markdown in plain VIM and my newest files are org-mode instead.

I use vim-markdown. It's not perfect, but does what I want. Generates a table of contents in a side window, from there I can jump to any heading by putting the cursor on the item and pressing RETURN. The TOC is indented to show heading level, so it serves as an outline. In the main window there are commands to jump to next or previous heading, sibling, heading of current section. It has concealing for bold, italic, a…

Thanks, I found your fork here: https://github.com/leephillips/vim-markdown

I'll take a look at it. Tim Pope also has an independent plugin also called vim-markdown, I don't remember what the differences were between your upstream and his.

Re: Leo Editor

#36

Earlier quoted context omitted.

Please suggest a good Markdown plugin for VIM - and why you like it. I've given up on the plugins... I'm now editing Markdown in plain VIM and my newest files are org-mode instead.

Not OP, I am using these two https://github.com/masukomi/vim-markdown-folding.git & https://github.com/plasticboy/vim-markdown.git and they work great. I like them because they work fine for me.

Thank you! Why are you using a separate folding plugin, doesn't vim-markdown provide folding? Does it fold better?

Re: Leo Editor

#37

Earlier quoted context omitted.

I use vim-markdown. It's not perfect, but does what I want. Generates a table of contents in a side window, from there I can jump to any heading by putting the cursor on the item and pressing RETURN. The TOC is indented to show heading level, so it serves as an outline. In the main window there are commands to jump to next or previous heading, sibling, heading of current section. It has concealing for bold, italic, a…

Thanks, I found your fork here: https://github.com/leephillips/vim-markdown I'll take a look at it. Tim Pope also has an independent plugin also called vim-markdown, I don't remember what the differences were between your upstream and his.

Looks like (vim legend) Tim Pope’s is the Markdown support included with Vim. My fork is of plasticboy’s, which adds a few features, like the TOC generation, to the default. So far my fork just adds one option that I needed, to only recognize Atx headers.

Re: Leo Editor

#38

Earlier quoted context omitted.

I was thinking the same as you. It seems to be another term for code folding. It is where you collapse parts of a source file into a single line so you can just focus on the part of the source file that you are interested in.

Like org-mode?

It’s more like the literate programming parts of org-mode except Leo is more of a live view, from what I remember.

Re: Leo Editor

#39
I think the key innovation of Leo is it's use of "clones" in outlines (see discussion here; http://leoeditor.com/tutorial-pim.html). In my experience this is the perfect bridge between a strictly hierarchical tree structure and a more generalized graph structure in terms of organizing information.

I've played around with other outliners that implement some what similar concepts, but none that I know of implement it as well as Leo.

Re: Leo Editor

#40

Earlier quoted context omitted.

Not OP, I am using these two https://github.com/masukomi/vim-markdown-folding.git & https://github.com/plasticboy/vim-markdown.git and they work great. I like them because they work fine for me.

Thank you! Why are you using a separate folding plugin, doesn't vim-markdown provide folding? Does it fold better?

I've been using them so long I can't be 100% sure but while they both fold, only one of them preserves the title of the heading while the other folds the whole section. Check the documentation.
Post reply on HN