cursorless icon indicating copy to clipboard operation
cursorless copied to clipboard

Could the clipboard be a special target?

Open alexhwoods opened this issue 3 years ago • 3 comments
trafficstars

If the clipboard was a special target:

  • Pasting could be untied from the cursor. e.g. bring clipboard to <target>
  • The following would be equivalent
    • carve and move <target> to clipboard
    • copy and bring <target> to clipboard
  • Many commands don't make sense in this context, e.g. pour

This is more a request for debate rather than a feature request. I'm also not sure if we'd want to deprecate copy and carve; that would definitely mess with my muscle memory.

alexhwoods avatar Jan 18 '22 15:01 alexhwoods

A couple thoughts on the connection to #46:

  • In that issue, bookmarks will become rich objects that can describe all sorts of things
  • So you could actually break down the concept of “clipboard” further
  • Bringing something to the clipboard is equivalent to passing the target through a modifier that extracts the textual contents and divorces them from the target itself, and then you insert that into a bookmark called “clipboard”

pokey avatar Jan 18 '22 15:01 pokey

Also note that this direction will be easier once we have #210, because then the clipboard can just be an object-oriented target

pokey avatar Jan 18 '22 15:01 pokey

I really like this idea.

jaresty avatar Jun 28 '24 14:06 jaresty