cursorless icon indicating copy to clipboard operation
cursorless copied to clipboard

intro doc WIP with some concepts and a few example walk throughs

Open jmegner opened this issue 2 years ago • 6 comments

I'll put in a lot more links once we start firming up the content. Feel free to suggest big changes.

jmegner avatar Jun 18 '23 04:06 jmegner

just wanted to check that this isn't blocked on anything from me?

pokey avatar Jul 09 '23 16:07 pokey

I feel like I should have had more examples, but some of them should go in the advanced guide and this should be a good enough start anyway.

Feel free to choose a better filename. guide-intermediate.md?

jmegner avatar Jul 24 '23 18:07 jmegner

Some notes from talking with @josharian ...

Agreed and fairly straightforward:

  • move useful actions/modifiers sections to top (and change intro a bit).
  • terser section titles even if less precise.
  • Some of the simple-when-you-see-it should have example before the technical explanation (chained modifiers, destination converters come before target modifiers).
  • fix "character or word" vs "argument and item".
  • some action reordering; select a manipulation first; chuck and change first in changers list
  • drink/pour are not just for lines (like args)
  • add IDE action category (like follow)
  • remove 'n scopes backwards' modifier

Jacob will think about:

  • Where to add/promote examples that have their own code block rather than an inline before-vs-after.

Controversy!

  • suggested new section for intersection of destination & delimiter (not sure I understood)
  • A lot of tweaking can be done for the top-level examples section. We concentrated on the other top level sections.
  • Whether to distinguish marks vs targets.
  • How to explain syntactic scopes.

Stuff to remember for when we have more than one guide doc

  • mention fewer useful modifiers
  • move join & split examples out, especially to future docs where we talk more about customization
  • "bring air to its arg" does "f(g(a), b)" => "f(a, b)"; the its makes it out of scope for this doc
  • it would be nice to have some extra support for before-vs-after examples, like a good way to show cursors, selections, and hats. Someone would have to wizard something up, which means it won't happen soon. Maybe it would be worthwhile to come up with some plaintext conventions like ^angry| a^pple to show hat assignment and cursor position, but I doubt it.

jmegner avatar Aug 07 '23 20:08 jmegner

@pokey I think it is ready for you to look again.

jmegner avatar Aug 10 '23 19:08 jmegner

I'm semi-back from other stuff. I think you last mentioned about breaking the PR into smaller chunks, and it makes sense for the author to do it as they work, but since I am no longer adding stuff, you have all the info I have for however you want to merge it in. I don't know what chunking you would find most helpful.

jmegner avatar Dec 24 '23 17:12 jmegner

Guide ported to https://github.com/jmegner/cursorless-unofficial-doc/blob/main/README.md

jmegner avatar Feb 23 '24 17:02 jmegner

Shall we close this now that it has its own home? We can start to integrate pieces of your guide into the official docs as we move forward

pokey avatar Jun 20 '24 10:06 pokey

Sounds good to me.

jmegner avatar Jun 20 '24 21:06 jmegner