Description
I created a bit of a cheatsheet for myself where I try to only put the commands that I think I will use for editing text and not code. I'm proud to say I wrote this all up in cursor less, I would love any feedback:
Also if anyone knows how I can easily put dashes in front of everything below I would love to know how to do something like that:
Basic Actions:
draft this
draft submit
take
chuck
and (take red sit through blue drum)
char: (second char "air" or last char "air")
line
past (takes a series of tokens,such as take blue vest through green cap)
pre (places cursor before token)
post (places cursor after token)
change
swap
carve ": cut
"copy ": copy
"bring ": Inserts the given target at the cursor position" bring <TARGET 1> to <TARGET 2>"
"move ": Moves the given target to the cursor position "move <TARGET 1> to <TARGET 2>": Replaces TARGET 2 with TARGET 1 and deletes TARGET 1
"drink ": Inserts a new line above the target line, and moves the cursor to the newly created line
"pour ": Inserts a new line below the target line, and moves the cursor to the newly created line
"round wrap ": wraps the target with parentheses
Scrolls a given target to the top, center or bottom of the screen.
"crown ": top
"center ": center
"bottom ": bottom
eg crown blue air scrolls the line containing the letter 'a' with a blue hat to the top of the screen.
A range target uses one primitive target as its start and another as its end to form a range from the start to the end. For example, "air past bat" refers to the range from the token with a hat over its 'a' to a token with a hat over its 'b'.
Note that if the first target is omitted, the start of the range will be the current selection(s).
"take [blue] air past [green] bat"
"take past [blue] air"
"take funk [blue] air past [blue] bat" (note end of range inherits "funk")
"take funk [blue] air past token [blue] bat"
"take past before [blue] air"
"take after [blue] air past before [blue] bat"
"take past end of line"
"take past start of line"
"take [blue] air past end of line"