[GH-ISSUE #284] Feature request: Paste around selection #161

Open
opened 2026-03-03 01:10:29 +03:00 by kerem · 2 comments
Owner

Originally created by @lucasvieites on GitHub (Jun 25, 2018).
Original GitHub issue: https://github.com/Clipy/Clipy/issues/284

Hi,
this feature would enable you to have a "variable" in your snippet which would be replaced with the selected text you are pasting, for example"

  1. your snippet contains a predefined variable text: "<a href='%THEVARIABLE%'>%THEVARIABLE</a>"
  2. you select a piece of text, say: "https://www.github.com"
  3. you paste the snippet "over" the selection and the variable gets replaced
  4. result: "<a href='https://www.github.com'>https://www.github.com</a>"
Originally created by @lucasvieites on GitHub (Jun 25, 2018). Original GitHub issue: https://github.com/Clipy/Clipy/issues/284 Hi, this feature would enable you to have a "variable" in your snippet which would be replaced with the selected text you are pasting, for example" 1. your snippet contains a predefined variable text: "```<a href='%THEVARIABLE%'>%THEVARIABLE</a>```" 2. you select a piece of text, say: "```https://www.github.com```" 3. you paste the snippet "over" the selection and the variable gets replaced 4. result: "```<a href='https://www.github.com'>https://www.github.com</a>```"
Author
Owner

@tiggeymone commented on GitHub (Jul 14, 2023):

Any news on this?

<!-- gh-comment-id:1635573455 --> @tiggeymone commented on GitHub (Jul 14, 2023): Any news on this?
Author
Owner

@lucasvieites commented on GitHub (Jul 14, 2023):

Nope, nothing yet. In the meantime, I'm using Espanso, which has this feature, and many more.

<!-- gh-comment-id:1635838678 --> @lucasvieites commented on GitHub (Jul 14, 2023): Nope, nothing yet. In the meantime, I'm using [Espanso](https://espanso.org/), which has this feature, and many more.
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/Clipy#161
No description provided.