Skip to content

Ghost #56

Description

@X4

The problem / use case
Moving text using traditional Cut & Paste is flawed:

  • Overwrites Clipboard: Cutting replaces existing clipboard contents; undoing restores the document text but loses the previous clipboard data.

  • Document Reflow: Cutting immediately shifts text layout, making it harder to maintain visual context and relocate the target insertion point.

Image

  • Non-Atomic Operations: Moving text requires separate cut and paste steps, making single-step undo impossible—especially if intermediate edits occur.

What you'd like
Implement "Ghost Cut" functionality for moving text/images/objects:

  • Faded/Inert State (Ctrl+X / Cmd+X): Selected text fades and becomes non-interactable (uncopyable, unclickable, cursor skips over it) while remaining visible in place without altering the clipboard.

  • Cancel (Esc): Restores the ghosted text to an active, editable state.
    Atomic Move (Ctrl+V / Cmd+V): Removes the ghosted text/images/objects from its origin and inserts it at the current cursor position as a single, fully reversible move operation.

See: https://ishmael.textualize.io/blog/ghost-cut/

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions