Pine icon indicating copy to clipboard operation
Pine copied to clipboard

Lists should autocomplete on return

Open markmals opened this issue 7 years ago • 3 comments

When you start a list (using *, -, +, or a number followed by a period), type an item, and hit return the editor should (at least have the option to) autocomplete a new list element for the next line.

For instance, if I type * Milk and hit return, the next line should immediately have a * and a space so I can easily continue adding to the list. Same for ordinal lists; the next line should have the next number in sequential order.

Additionally, if I hit return again, it should remove the * space it inserted and return again, discontinuing the list.

markmals avatar Sep 01 '18 07:09 markmals

Not sure if I should open a new issue or not, but as it seems related I'll leave it here:

I'd love to be able to change the list level (indent / outdent) with a Tab. The way I'm imagining it is: I select two or more lines, hit Tab and the selected lines will be prepended a tab character (or n spaces, depending on the settings possibly). When I hit Shift+Tab and the line begins with a tab character (or spaces), they should be removed.

Let me know if I should open a separate issue for that. Thanks for the amazing product!

alexmsenger avatar Mar 22 '19 14:03 alexmsenger

I agree with both comments, the autocomplete/keyboard shortcuts around lists needs to be improved. I'll put these features on my todo list.

lukakerr avatar Mar 22 '19 22:03 lukakerr