HappenApps / Quiver

Quiver documentation and issue tracker
2.26k stars 109 forks source link

[Request] Global vim mode #264

Open kikyous opened 8 years ago

kikyous commented 8 years ago

currently vim mode only works in some cell. but i think global vim mode is awesome.

ylian commented 8 years ago

This won't happen for text cells, since text cells use HTML5 contenteditable, and other cells use the Ace editor.

But if you only use Markdown, I am considering adding a Markdown note type, so you would be able to write the whole note in Markdown. Some users already write a whole note in a single Markdown cell, so this would just make their lives easier.

kikyous commented 8 years ago

Ok, i know.

But Markdown note type is unnecessary, i think.

ylian commented 8 years ago

Maybe not. I am still considering.

kikyous commented 8 years ago

Because cell is highlight!

Maybe add a option to set default cell type is a good workaround.

ylian commented 8 years ago

What do you mean by "cell is highlight"?

There is already an option to set default cell type: Preferences > General > Set default cell type

How do you use Quiver? Mix cells or just use Markdown?

kikyous commented 8 years ago

OK, i find it.

I think mix cells make Quiver better than other markdown tools, so "cell is highlight"

I use mix cells

ylian commented 8 years ago

I see. If you use mixed cells, you won't notice any difference. This is only for users who use Markdown exclusively. :)

JMichaelTX commented 8 years ago

But if you only use Markdown, I am considering adding a Markdown note type, so you would be able to write the whole note in Markdown. Some users already write a whole note in a single Markdown cell, so this would just make their lives easier.

@ylian: What would be the advantage of a MD only note vs having a MD cell? :question:

Frankly given the scarce resources available to you, it seems there's very little to be gained by this. I'd rather see you spend time on features that really add new capability. :smile:

Thanks for all your great work!

ylian commented 8 years ago

@JMichaelTX Two things:

  1. There is no cell outline, no cell operation, the editor is cleaner thus easier to use.
  2. The note will be saved as .md.

This also applies to rich text note. When the web clipper is released, you'll be able to clip an article. Most of the time that article will be in a single text cell.

This is still under consideration. I'm not working on it right now.

JMichaelTX commented 8 years ago

This also applies to rich text note. When the web clipper is released, you'll be able to clip an article. Most of the time that article will be in a single text cell.

@ylian: I'd prefer that the web clipper go to a normal Note, with a rich text cell. I often clip web pages that have both text and code. So I would need to be able to later move the code from the text cell to a code cell. I might also like to add another text cell with my comments, so I can keep the original web text separate from my comments.

BTW, I'm really looking forward to the web clipper.

I guess my suggestion would be to keep it simple for now. Seems like you have given us a lot of flexibility with multiple cell types, including the choice to just use one cell.

Thanks.

ylian commented 8 years ago

@JMichaelTX Thanks.

I have some ideas planned for the web clipper. You'll like it. One cool feature would be auto-detection of code blocks in the HTML, and you will have the option to clip as "Rich Text note" (all in one text cell), "Mixed Cell Note" (source code extracted into code cells", or even "Markdown Note" (source code extracted into fenced code blocks).

This is mostly for other users who have simpler needs for certain notes. I am all about simplifying the app, not complicating it. :)

JMichaelTX commented 8 years ago

One cool feature would be auto-detection of code blocks in the HTML, and you will have the option to clip as "Rich Text note" (all in one text cell), "Mixed Cell Note" (source code extracted into code cells

Very cool! :+1: