Skip to content

Could the clipboard be a special target? #495

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
alexhwoods opened this issue Jan 18, 2022 · 3 comments
Open

Could the clipboard be a special target? #495

alexhwoods opened this issue Jan 18, 2022 · 3 comments
Labels
enhancement New feature or request

Comments

@alexhwoods
Copy link
Contributor

alexhwoods commented Jan 18, 2022

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.

@pokey
Copy link
Member

pokey commented Jan 18, 2022

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 pokey added the enhancement New feature or request label Jan 18, 2022
@pokey
Copy link
Member

pokey commented Jan 18, 2022

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

@jaresty
Copy link
Contributor

jaresty commented Jun 28, 2024

I really like this idea.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

3 participants