Skip to content
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

Add a feature for quoting pasted urls #427

Open
wants to merge 2 commits into
base: master
Choose a base branch
from

Conversation

Andersbakken
Copy link
Contributor

@Andersbakken Andersbakken commented May 5, 2021

When enabled, it will quote any url before pasting.

Quotable urls are sections within the pasted string that start with http:// or https://
If there's a character preceding the h in http... it must be a space (' ', '\t', '\r', '\n') or it won't quote
If there's a backslash, singlequote, doublequote before the first space or the end of the string it won't quote.

This pr will be followed by a pr for qterminal to make use of this feature.

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

Successfully merging this pull request may close these issues.

2 participants