Skip to content

Provide a 'Paste mode' to allow a paste keybinding to be 'smart'. #5278

@enjibby

Description

@enjibby

Description of the new feature/enhancement

As part of the discussion in #968 there was a suggestion that, while creating a selection was a good cue for enabling a smart copy mode, there was no equivalent cue for smart paste.

Implementing a paste mode may be a good addition to assist those that wish to use Ctrl+V as both a paste key and a key combination in terminal apps.

Proposed technical implementation details (optional)

My idea is frankly quite vague. Apologies if it feels unreasonable.

Perhaps the terminal could, on app activation and in the event of a clipboard addition, detect the presence of a compatible item in the clipboard and enable a paste 'mode'. This would provide a visual cue that the paste keybinding(s) would paste rather than be sent through to the terminal. Once in this mode, an opportunity to cancel the mode would be available to the user, through a UI element and/or another keybinding.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Area-ExtensibilityA feature that would ideally be fulfilled by us having an extension model.Issue-FeatureComplex enough to require an in depth planning process and actual budgeted, scheduled work.Product-TerminalThe new Windows Terminal.

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions