You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Add action which creates a named mark. Like a lightweight version of Add "mark" action to bookmark a target #46. Note that we'll probably want to arrange for this action not to set the that mark, because we'll want to keep that unchanged
Add a keyboard shortcut that switches the action to use this new create named mark action, and create a mark called destination. This keyboard shortcut will by default set the destination mark to be the current selection. Then selecting a hat will target this special destination mark instead of just the usual that mark
Applying a scope expansion or other modifier will target both that mark and destination mark
Need to figure out how to highlight this mark in a different color
Then have set of actions for the following:
"move after"
"move before"
"move to"
"bring after"
"bring before"
"bring to"
"swap"
Btw this kind of jives with an idea @AndreasArvidsson and I were talking about, where you have one target with named attributes instead of a list of targets.
Feels like this moves towards a viewpoint that Cursorless is really allowing us to have named / differentiated cursors
The text was updated successfully, but these errors were encountered:
Here is how the current keyboard implementation works fundamentally:
A mark is selected
The mark is highlighted which makes it available through that target
Further modifiers or actions are then always applied as a highlighting of the that target which makes the modified target again available through that.
In my experiment #1964 I do not use the that mark to chain modifiers. Instead I manually track and extend/modify every target in a list of targets. This opens the possibility to have an keyboard action like designate last target in list as destination. Or a toggle that allows the user to set the destination target explicitly. Any 2-target actions would either use cursor if the destination target is null or use the destination target if it is set.
This basically moves the proposed feature #46 into the keyboard mode only.
Having a list of targets gives more flexibility to the keyboard mode implementation. However, I am not familiar enough with more advanced features (e.g. experimental.setInstanceReference) to figure out if that flexibility is actually helpful or just unnecessary complexity. For example: can we apply a experimental.setInstanceReference to a that target?
that
mark, because we'll want to keep that unchangeddestination
. This keyboard shortcut will by default set thedestination
mark to be the current selection. Then selecting a hat will target this specialdestination
mark instead of just the usualthat
markthat
mark anddestination
markjust
that breaks the chain, so that it doesn't targetthat
, onlydestination
(see also [keyboard] More advanced range / list target support #1004)Btw this kind of jives with an idea @AndreasArvidsson and I were talking about, where you have one target with named attributes instead of a list of targets.
Feels like this moves towards a viewpoint that Cursorless is really allowing us to have named / differentiated cursors
The text was updated successfully, but these errors were encountered: