I notice CMD + period expands/collapses the current bullet.
What about CMD + SHIFT + period to collapse/expand the parent bullet?
I can see a potential usability issue though… Let’s say you were working on a list:
-
Foods
- Banana
- Eggs
- Pancakes <== Your cursor is here.
- Ice Cream
If I’m focused on Pancakes and I hit CMD + SHIFT + period, it will collapse the parent’s bullet, so it would just show:
-
Foods <== Your cursor is now here.
Now what if I immediately hit CMD + SHIFT + period again?
One of two things should happen:
- The list should expand again, and my cursor should move back to the Pancakes line.
- If Foods is nested under another parent item (e.g., Stuff I Like) it should collapse to its parent bullet.
I kind of like #1 because it allows me to use CMD + SHIFT + period as a quick toggle, to see the parent and then jump immediately back to where I was working.
However, #2 is also nice because it keeps the command consistent. It always collapses to the parent.
One hybrid solution might be:
- In normal situations, it collapses to the parent bullet.
- If the most recent action taken was a “collapse to parent bullet” action and the cursor has never left the current line, then it will toggle and instead expand the bullet.
Just brainstorming…