Replies: 1 comment 19 replies
-
Looks good! Thanks for sharing your thoughts! The motion commands are mostly mode-agnostic so far.
I'm able to make them mode-agnostic largely because of Manipulations: I don't have much them yet, because I once had a hard time figuring out how to make them mode-agnostic (and not breaking invariants that modes respect, while we don't have a schema system yet!). But now I think maybe we can just do the same thing as how I did for motion -- use DOM element as the basic unit. Note that the commands you propose don't change sibling level (i.e. not moving up or down nodes) -- that means if the imaginary schema system only supports "can contains" relation, then these command won't ever break the schema. We still need more thoughts if we want to add commands that move up or down nodes, though.
|
Beta Was this translation helpful? Give feedback.
-
Have commands for navigation and manipulation based on structure.
A possible list:
The good thing is that these will translate to every mode, not only Lisp mode.
I would like to implement, but I'm finding it a bit difficult for now because I don't fully understand Neomacs model yet (marks/nodes/positions/elements).
Thoughts?
Beta Was this translation helpful? Give feedback.
All reactions